dumb: fix cross build

This commit is contained in:
Jürgen Buchmüller 2015-12-03 16:51:31 +01:00
parent ba9a936279
commit bf75ff37f9

View File

@ -34,6 +34,7 @@ esac
pre_configure() {
sed -i ${wrksrc}/${_library_wrksrc}/cmake/CMakeLists.txt \
-e '/^set(CMAKE_C_FLAGS /s|-Wall|${CMAKE_C_FLAGS} -Wall|' \
-e '/^set(CMAKE_C_FLAGS /s| -D_USE_SSE -msse||' \
-e '/^add_library(dumb ${SOURCES})/a set_target_properties(dumb PROPERTIES VERSION 1.0)'
sed -i ${wrksrc}/${_example_wrksrc}/dumb2wav.c \
-e '/.*dumb_load_mod(fn/s|)|,0)|'