[packages/mono] - use out cppflags, try i486 workaround for missing __sync_val_compare_and_swap_8

qboosh qboosh at pld-linux.org
Sun Sep 29 17:05:46 CEST 2013


commit ec02d8f6f62864eff60a912898005152837e51a9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 29 17:06:28 2013 +0200

    - use out cppflags, try i486 workaround for missing __sync_val_compare_and_swap_8

 mono.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/mono.spec b/mono.spec
index 8661db0..f121184 100644
--- a/mono.spec
+++ b/mono.spec
@@ -260,7 +260,11 @@ cd ..
 %{?with_llvm:PATH=%{_libdir}/mono-llvm/bin:$PATH}
 # -DUSE_COMPILER_TLS is passed to libgc by main configure, but our
 # CPPFLAGS override that CPPFLAGS
-CPPFLAGS="-DUSE_LIBC_PRIVATE_SYMBOLS -DUSE_COMPILER_TLS"
+%ifarch i486
+CPPFLAGS="%{rpmcppflags} -DUSE_LIBC_PRIVATE_SYMBOLS -DUSE_COMPILER_TLS -DBROKEN_64BIT_ATOMICS_INTRINSIC"
+%else
+CPPFLAGS="%{rpmcppflags} -DUSE_LIBC_PRIVATE_SYMBOLS -DUSE_COMPILER_TLS"
+%endif
 # note: don't enable moonlight here (yet) - it doesn't add anything to package
 # but disables some utils (it's meant for stripped mono build for moonlight)
 %configure \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mono.git/commitdiff/ec02d8f6f62864eff60a912898005152837e51a9



More information about the pld-cvs-commit mailing list