summaryrefslogtreecommitdiff
path: root/community/musepack-tools/math.patch
blob: 61b3d07ec95216da0c3d703dc0bf39d9308c18b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aur musepack_src_r475.old/CMakeLists.txt musepack_src_r475/CMakeLists.txt
--- musepack_src_r475.old/CMakeLists.txt	2011-10-14 16:31:05.536450109 +0800
+++ musepack_src_r475/CMakeLists.txt	2011-10-14 16:31:34.022962450 +0800
@@ -16,7 +16,7 @@
 add_definitions(-DFAST_MATH -DCVD_FASTLOG)
 
 if(NOT MSVC)
-  set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe")
+  set(CMAKE_C_FLAGS "-O3 -Wall -fomit-frame-pointer -pipe -lm")
 endif(NOT MSVC)
 
 add_subdirectory(libmpcdec)