diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py index 29d2b39323e..5d0c046ed05 100644 --- a/build_files/scons/config/darwin-config.py +++ b/build_files/scons/config/darwin-config.py @@ -91,7 +91,7 @@ LIBDIR = '${LCGDIR}' ############################################################################# #Defaults openMP to true if compiler handles it -if CC == 'gcc-4.2' or CC == 'llvm-gcc-4.2': +if CC.endswith('4.6.1'): WITH_BF_OPENMP = True # multithreading for fluids, cloth and smoke else: WITH_BF_OPENMP = False