xbps-src: set defaults to XBPS_C{,XX}FLAGS for the bootstrap target.
This commit is contained in:
parent
30559bb98e
commit
8252c1a719
1 changed files with 3 additions and 0 deletions
|
@ -332,6 +332,9 @@ setup_pkg() {
|
||||||
if [ -s ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh ]; then
|
if [ -s ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh ]; then
|
||||||
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
XBPS_CFLAGS="-O2 -pipe"
|
||||||
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||||
fi
|
fi
|
||||||
export CFLAGS="$XBPS_CFLAGS $XBPS_CROSS_CFLAGS $CFLAGS $dbgflags"
|
export CFLAGS="$XBPS_CFLAGS $XBPS_CROSS_CFLAGS $CFLAGS $dbgflags"
|
||||||
export CXXFLAGS="$XBPS_CXXFLAGS $XBPS_CROSS_CXXFLAGS $CXXFLAGS $dbgflags"
|
export CXXFLAGS="$XBPS_CXXFLAGS $XBPS_CROSS_CXXFLAGS $CXXFLAGS $dbgflags"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue