]> git.pld-linux.org Git - packages/mono.git/commitdiff
- use out cppflags, try i486 workaround for missing __sync_val_compare_and_swap_8 auto/th/mono-3.2.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2013 15:06:28 +0000 (17:06 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2013 15:06:28 +0000 (17:06 +0200)
mono.spec

index 8661db0a114a18804a6955b588f9b05f36b139fa..f1211848ac4d8c55186d0b2c9eb96809dbdd65d2 100644 (file)
--- 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 \
This page took 0.092043 seconds and 4 git commands to generate.