ThirdParty: minor adjustments under macOS 10.14.5 for the compilation of ParMGridGen-1.0 and metis-5.1.0.

The environment variable $CC has to be written between double-quotes when using it as a make command-line parameter for CC.
This commit is contained in:
Martin Beaudoin 2019-07-11 17:05:45 -04:00
parent fd0e75b822
commit e9bcc97355
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ fi
[ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
[ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
make -j $WM_NCOMPPROCS CC=$CC
make -j $WM_NCOMPPROCS CC="$WM_CC"
%install
# Manual installation

View file

@ -109,10 +109,10 @@ fi
%ifos darwin
make config
# The parameter -D_POSIX_C_SOURCE=200809 has a side effect on Mac OS X
make -j $WM_NCOMPPROCS OPTFLAGS="-O3 -fPIC" CC=$CC
make -j $WM_NCOMPPROCS OPTFLAGS="-O3 -fPIC" CC="$CC"
%else
make config
make -j $WM_NCOMPPROCS OPTFLAGS="-O3 -fPIC -D_POSIX_C_SOURCE=200809" CC=$CC
make -j $WM_NCOMPPROCS OPTFLAGS="-O3 -fPIC -D_POSIX_C_SOURCE=200809" CC="$CC"
%endif
%install