From d1db8ab77f4b61e3343cd879f6090d186d9c60ee Mon Sep 17 00:00:00 2001 From: Martin Beaudoin Date: Sat, 15 Aug 2015 14:14:28 -0400 Subject: [PATCH] ThirdParty:scotch 6.0.4 under Mac OSX: enable Scotch pthread --- ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_darwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_darwin b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_darwin index 7e9174eef..95337cc4b 100644 --- a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_darwin +++ b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_darwin @@ -12,7 +12,7 @@ +CCS = gcc +CCP = mpicc +CCD = mpicc -+CFLAGS = -O3 -Drestrict=__restrict -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DCOMMON_FILE_COMPRESS_GZ -DSCOTCH_RENAME ++CFLAGS = -O3 -Drestrict=__restrict -DCOMMON_TIMING_OLD -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DCOMMON_PTHREAD_BARRIER +CLIBFLAGS = +LDFLAGS = -lz -lm +LIBLDFLAGS = -dynamiclib -undefined dynamic_lookup