summaryrefslogtreecommitdiff
path: root/devel/tbb/files/patch-include-tbb-tbb_config.h
blob: e388cf06b6912a30c5aa163e3f1297526e37d80f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- include/tbb/tbb_config.h.orig	2019-12-18 22:42:41 UTC
+++ include/tbb/tbb_config.h
@@ -677,6 +677,10 @@ There are four cases that are supported:
         However these functions are not defined anywhere. It seems that this problem was fixed later on
         and RHEL got an updated version of gcc 4.1.2. **/
     #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
+#elif __TBB_x86_32 && __TBB_GCC_VERSION == 40201 && !__clang__ && __FreeBSD__
+    /** Symbol '__sync_val_compare_and_swap_8' not defined
+        on FreeBSD 8.4/i386 and 9.2/i386 with base gcc **/
+    #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
 #endif
 
 #if __GNUC__ && __TBB_x86_64 && __INTEL_COMPILER == 1200