[SCM] csound/master: only enable atomic builtins in amd64 and i386

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Mon Sep 2 04:39:29 UTC 2013


The following commit has been merged in the master branch:
commit 5f7f22e64ed67994d51481eb5ebdb10ac4f46644
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sun Sep 1 23:31:19 2013 -0400

    only enable atomic builtins in amd64 and i386

diff --git a/debian/rules b/debian/rules
index a025ab1..8b3c3a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,6 +70,12 @@ DEB_CMAKE_EXTRA_FLAGS = \
 	-DBUILD_TESTS=OFF \
 	-DUSE_COMPILER_OPTIMIZATIONS=OFF \
 
+ifneq "$(filter amd64 i386, $(DEB_HOST_ARCH_CPU))" ""
+	DEB_CMAKE_EXTRA_FLAGS += -DUSE_ATOMIC_BUILTINS=ON
+else
+	DEB_CMAKE_EXTRA_FLAGS += -DUSE_ATOMIC_BUILTINS=OFF
+endif
+
 # I/O plugins
 DEB_CMAKE_EXTRA_FLAGS += \
 	-DUSE_PULSEAUDIO=ON \

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list