dumb: fix cross build
This commit is contained in:
parent
ba9a936279
commit
bf75ff37f9
|
@ -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)|'
|
||||
|
|
Loading…
Reference in New Issue
Block a user