Skip to content

Commit

Permalink
COMP: Use same flags for Mac C and CXX
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa authored Nov 25, 2024
1 parent 3ecef1e commit d07ca32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ cd itkb
compcflags=" -fPIC -O2 -Wno-c++11-long-long "
compcxxflags=" ${compcflags} "
if [[ `uname` == 'Darwin' ]] ; then
compcxxflags=" ${compcflags} -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1 -stdlib=libc++ "
compcflags=" ${compcflags} -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1 -stdlib=libc++ "
compcxxflags=" ${compcflags} "
fi
cmaker=`${R_HOME}/bin/Rscript -e "x=Sys.which('cmake'); cat(x)"`
if [[ -z "${cmaker}" ]]; then
Expand Down

0 comments on commit d07ca32

Please sign in to comment.