AMPI: Add fsglobals (filesystem) and pipglobals (Process-in-Process) privatization...
[charm.git] / src / arch / common / conv-mach-darwin.sh
1 CMK_MACOSX=1
2
3 CMK_RANLIB='ranlib'
4 CMK_LIBS='-lckqt'
5 CMK_QT='generic64-light'
6 CMK_XIOPTS=''
7
8 CMK_CC_FLAGS="$CMK_CC_FLAGS -fPIC -dynamic -fno-common "
9 CMK_CXX_FLAGS="$CMK_CXX_FLAGS -fPIC -dynamic -fno-common -stdlib=libc++ "
10 CMK_LDXX_FLAGS="$CMK_LDXX_FLAGS -multiply_defined suppress -stdlib=libc++ "
11
12 # setting for shared lib
13 CMK_SHARED_SUF="dylib"
14 CMK_LD_SHARED=" -dynamic -dynamiclib -undefined dynamic_lookup "
15 CMK_LD_SHARED_ABSOLUTE_PATH=true
16
17 CMK_DEFS="$CMK_DEFS -mmacosx-version-min=10.7 -D_DARWIN_C_SOURCE"
18
19 if command -v gfortran >/dev/null 2>&1
20 then
21   . $CHARMINC/conv-mach-gfortran.sh
22 fi
23
24 # Assumes gfortran compiler:
25 CMK_CF77="$CMK_CF77 -mmacosx-version-min=10.7"
26 CMK_CF90="$CMK_CF90 -mmacosx-version-min=10.7"