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:
parent
fd0e75b822
commit
e9bcc97355
2 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ fi
|
||||||
[ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
|
[ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
|
||||||
[ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
|
[ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
|
||||||
|
|
||||||
make -j $WM_NCOMPPROCS CC=$CC
|
make -j $WM_NCOMPPROCS CC="$WM_CC"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Manual installation
|
# Manual installation
|
||||||
|
|
4
ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec
vendored
4
ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec
vendored
|
@ -109,10 +109,10 @@ fi
|
||||||
%ifos darwin
|
%ifos darwin
|
||||||
make config
|
make config
|
||||||
# The parameter -D_POSIX_C_SOURCE=200809 has a side effect on Mac OS X
|
# 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
|
%else
|
||||||
make config
|
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
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Reference in a new issue