Commit f70d1cac authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rémi Denis-Courmont

contrib: mpcdec: do not clobber our precious CFLAGS

parent 6918810b
diff -ru musepack.orig/CMakeLists.txt musepack/CMakeLists.txt
--- musepack.orig/CMakeLists.txt 2011-08-08 10:21:17.000000000 +0300
+++ musepack/CMakeLists.txt 2011-08-08 10:21:03.000000000 +0300
@@ -16,7 +16,7 @@
add_definitions(-DFAST_MATH -DCVD_FASTLOG)
if(NOT MSVC)
- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe")
+ add_definitions(-O3 -Wall -fomit-frame-pointer -pipe)
endif(NOT MSVC)
add_subdirectory(libmpcdec)
...@@ -26,6 +26,7 @@ $(TARBALLS)/musepack_src_r$(MUSE_REV).tar.gz: ...@@ -26,6 +26,7 @@ $(TARBALLS)/musepack_src_r$(MUSE_REV).tar.gz:
musepack: musepack_src_r$(MUSE_REV).tar.gz .sum-mpcdec musepack: musepack_src_r$(MUSE_REV).tar.gz .sum-mpcdec
$(UNPACK) $(UNPACK)
$(APPLY) $(SRC)/mpcdec/musepack-no-cflags-clobber.patch
sed -i.orig \ sed -i.orig \
-e 's,^add_subdirectory(mpcgain),,g' \ -e 's,^add_subdirectory(mpcgain),,g' \
-e 's,^add_subdirectory(mpcchap),,g' \ -e 's,^add_subdirectory(mpcchap),,g' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment