diff options
Diffstat (limited to 'audio/musepack/patches')
-rw-r--r-- | audio/musepack/patches/patch-CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/musepack/patches/patch-CMakeLists.txt b/audio/musepack/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..0bfe0f5ed00 --- /dev/null +++ b/audio/musepack/patches/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2017/12/18 13:01:17 jperkin Exp $ + +Don't overwrite user CFLAGS with bogus ones. + +--- CMakeLists.txt.orig 2010-07-13 11:15:24.000000000 +0000 ++++ CMakeLists.txt +@@ -15,10 +15,6 @@ endif(WIN32) + + add_definitions(-DFAST_MATH -DCVD_FASTLOG) + +-if(NOT MSVC) +- set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe") +-endif(NOT MSVC) +- + add_subdirectory(libmpcdec) + add_subdirectory(libmpcpsy) + add_subdirectory(libmpcenc) |