[packages/gcc] - libatomic and libasan are limited to some architectures

qboosh qboosh at pld-linux.org
Sat Apr 19 21:02:26 CEST 2014


commit 1b5851e71cb7afea7782fa28ff146a3f93ee874c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 19 21:04:29 2014 +0200

    - libatomic and libasan are limited to some architectures

 gcc.spec | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/gcc.spec b/gcc.spec
index 672674b..29b80bf 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -45,12 +45,13 @@
 %define		cxx_sover	6
 %endif
 
+# go, java and objcxx require C++
 %if %{without cxx}
 %undefine	with_go
 %undefine	with_java
 %undefine	with_objcxx
 %endif
-
+# objcxx requires objc
 %if %{without objc}
 %undefine	with_objcxx
 %endif
@@ -68,6 +69,14 @@
 %undefine	with_multilib
 %endif
 
+%ifnarch %{ix86} %{x8664} arm ppc ppc64 sh sparc sparcv9 sparc64
+%undefine	with_atomic
+%endif
+
+%ifnarch %{ix86} %{x8664} ppc ppc64 sparc sparcv9 sparc64
+%undefine	with_asan
+%endif
+
 %ifnarch %{x8664}
 %undefine	with_tsan
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/1b5851e71cb7afea7782fa28ff146a3f93ee874c



More information about the pld-cvs-commit mailing list