Merge pull request #3024 from pullmoll/buildflags
common.sh: set BUILD_XXXFLAGS as autoconf defaults
This commit is contained in:
commit
9a949ad325
|
@ -391,9 +391,13 @@ setup_pkg() {
|
||||||
export CPP_FOR_BUILD="cpp"
|
export CPP_FOR_BUILD="cpp"
|
||||||
export LD_FOR_BUILD="ld"
|
export LD_FOR_BUILD="ld"
|
||||||
export CFLAGS_FOR_BUILD="$XBPS_CFLAGS"
|
export CFLAGS_FOR_BUILD="$XBPS_CFLAGS"
|
||||||
|
export BUILD_CFLAGS="$XBPS_CFLAGS"
|
||||||
export CXXFLAGS_FOR_BUILD="$XBPS_CXXFLAGS"
|
export CXXFLAGS_FOR_BUILD="$XBPS_CXXFLAGS"
|
||||||
|
export BUILD_CXXFLAGS="$XBPS_CXXFLAGS"
|
||||||
export CPPFLAGS_FOR_BUILD="$XBPS_CPPFLAGS"
|
export CPPFLAGS_FOR_BUILD="$XBPS_CPPFLAGS"
|
||||||
|
export BUILD_CPPFLAGS="$XBPS_CPPFLAGS"
|
||||||
export LDFLAGS_FOR_BUILD="$XBPS_LDFLAGS"
|
export LDFLAGS_FOR_BUILD="$XBPS_LDFLAGS"
|
||||||
|
export BUILD_LDFLAGS="$XBPS_LDFLAGS"
|
||||||
|
|
||||||
if [ -n "$cross" ]; then
|
if [ -n "$cross" ]; then
|
||||||
export CC="${XBPS_CROSS_TRIPLET}-gcc"
|
export CC="${XBPS_CROSS_TRIPLET}-gcc"
|
||||||
|
|
Loading…
Reference in New Issue