update: add CXX environment option to mp-build
This commit is contained in:
parent
5b36261521
commit
5aa5e39168
@ -345,6 +345,7 @@ unset_indent
|
|||||||
|
|
||||||
info "Running the build function"
|
info "Running the build function"
|
||||||
export CC="gcc"
|
export CC="gcc"
|
||||||
|
export CXX="gcc"
|
||||||
export CFLAGS="-march=x86-64 -mtune=generic -O2"
|
export CFLAGS="-march=x86-64 -mtune=generic -O2"
|
||||||
export ROOTDIR="${rootpath}"
|
export ROOTDIR="${rootpath}"
|
||||||
export MAKEFLAGS="-j${OPT_CORES}"
|
export MAKEFLAGS="-j${OPT_CORES}"
|
||||||
@ -364,7 +365,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
unset XORG_CONFIG XORG_PREFIX
|
unset XORG_CONFIG XORG_PREFIX
|
||||||
unset MAKEOPTS MAKEFLAGS
|
unset MAKEOPTS MAKEFLAGS CXX
|
||||||
unset CFLAGS ROOTDIR CC
|
unset CFLAGS ROOTDIR CC
|
||||||
|
|
||||||
if [ "$SECONDS" != "0" ]; then
|
if [ "$SECONDS" != "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user