[SCM] csound/master: Use add_compile_options instead of add_compiler_flags
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Sat Jan 27 12:51:23 UTC 2018
The following commit has been merged in the master branch:
commit 8d652ebd9a86375e02c398f8f556af2749faffad
Author: Felipe Sateler <fsateler at debian.org>
Date: Fri Jan 26 20:19:11 2018 -0300
Use add_compile_options instead of add_compiler_flags
The latter no longer exists
diff --git a/debian/Custom.cmake b/debian/Custom.cmake
index abdb2ef..c793a6d 100644
--- a/debian/Custom.cmake
+++ b/debian/Custom.cmake
@@ -13,12 +13,12 @@ include_directories(${LUAJIT_INCLUDE_DIR})
add_compiler_flags("-Wno-error=format-security")
# Enable optimizations
-add_compiler_flags("-ftree-vectorize -ffast-math -O3 -fno-finite-math-only")
+add_compile_options(-ftree-vectorize -ffast-math -O3 -fno-finite-math-only)
# Only in 386 or amd64 enable mtune, specified from the rules file
set(mtuneopt "@MTUNE@")
set(simdopt "@ENABLE_SIMD@")
if(mtuneopt)
- add_compiler_flags("-mtune=generic")
+ add_compile_options("-mtune=generic")
endif()
if(NOT simdopt)
add_definitions("-DPFFFT_SIMD_DISABLE")
--
csound packaging
More information about the pkg-multimedia-commits
mailing list