fix: add missing CXXFLAGS and CPPFLAGS to mp-build
This commit is contained in:
parent
57c898c8d4
commit
99b686e2b7
@ -377,6 +377,8 @@ info "Running the build function"
|
|||||||
export CC="gcc"
|
export CC="gcc"
|
||||||
export CXX="g++"
|
export CXX="g++"
|
||||||
export CFLAGS="-march=x86-64 -mtune=generic -O2"
|
export CFLAGS="-march=x86-64 -mtune=generic -O2"
|
||||||
|
export CPPFLAGS="-march=x86-64 -mtune=generic -O2"
|
||||||
|
export CXXFLAGS="-march=x86-64 -mtune=generic -O2"
|
||||||
export ROOTDIR="${rootpath}"
|
export ROOTDIR="${rootpath}"
|
||||||
export MAKEFLAGS="-j${OPT_CORES}"
|
export MAKEFLAGS="-j${OPT_CORES}"
|
||||||
export MAKEOPTS="-j${OPT_CORES}"
|
export MAKEOPTS="-j${OPT_CORES}"
|
||||||
@ -396,6 +398,7 @@ fi
|
|||||||
|
|
||||||
unset XORG_CONFIG XORG_PREFIX
|
unset XORG_CONFIG XORG_PREFIX
|
||||||
unset MAKEOPTS MAKEFLAGS CXX
|
unset MAKEOPTS MAKEFLAGS CXX
|
||||||
|
unset CPPFLAGS CXXFLAGS
|
||||||
unset CFLAGS ROOTDIR CC
|
unset CFLAGS ROOTDIR CC
|
||||||
|
|
||||||
if [ "$SECONDS" != "0" ]; then
|
if [ "$SECONDS" != "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user