From ec02d8f6f62864eff60a912898005152837e51a9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 29 Sep 2013 17:06:28 +0200 Subject: [PATCH] - 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 \ -- 2.44.0