xbps-src: trying to fix FFLAGS construction
This still isn't perfect. When the common/xbps-src/shutils/chroot.sh function chroot_init() is called, the value for $XBPS_FFLAGS, which is defined in common/build-profiles/bootstrap.sh, is empty. Put the immediate value into the generated /etc/xbps/xbps-src.conf file until someone finds out where passing the value of $XBPS_FFLAGS throughout the scripts is missing.
This commit is contained in:
parent
f7558c16aa
commit
272114cd05
29 changed files with 34 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="aarch64-unknown-linux-musl"
|
XBPS_TRIPLET="aarch64-unknown-linux-musl"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
XBPS_TARGET_CFLAGS="-march=armv8-a"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="aarch64-unknown-linux-gnu"
|
XBPS_TRIPLET="aarch64-unknown-linux-gnu"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="armv6l-linux-musleabihf"
|
XBPS_TRIPLET="armv6l-linux-musleabihf"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
XBPS_TARGET_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="armv6l-unknown-linux-gnueabihf"
|
XBPS_TRIPLET="armv6l-unknown-linux-gnueabihf"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
XBPS_TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_CXXFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_CXXFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="armv7l-linux-musleabihf"
|
XBPS_TRIPLET="armv7l-linux-musleabihf"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
XBPS_TARGET_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="armv7l-unknown-linux-gnueabihf"
|
XBPS_TRIPLET="armv7l-unknown-linux-gnueabihf"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-mtune=i686"
|
XBPS_TARGET_CFLAGS="-mtune=i686"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="i686-pc-linux-musl"
|
XBPS_TRIPLET="i686-pc-linux-musl"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-mtune=i686"
|
XBPS_TARGET_CFLAGS="-mtune=i686"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="i686-pc-linux-gnu"
|
XBPS_TRIPLET="i686-pc-linux-gnu"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-mtune=generic"
|
XBPS_TARGET_CFLAGS="-mtune=generic"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="x86_64-unknown-linux-musl"
|
XBPS_TRIPLET="x86_64-unknown-linux-musl"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
XBPS_TARGET_CFLAGS="-mtune=generic"
|
XBPS_TARGET_CFLAGS="-mtune=generic"
|
||||||
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
XBPS_TARGET_CXXFLAGS="$XBPS_TARGET_CFLAGS"
|
||||||
|
XBPS_TARGET_FFLAGS=""
|
||||||
XBPS_TRIPLET="x86_64-unknown-linux-gnu"
|
XBPS_TRIPLET="x86_64-unknown-linux-gnu"
|
||||||
|
|
|
@ -8,6 +8,7 @@ A cross profile file must provide the following variables:
|
||||||
- XBPS_CROSS_TRIPLET (the cross compiler triplet)
|
- XBPS_CROSS_TRIPLET (the cross compiler triplet)
|
||||||
- XBPS_CROSS_CFLAGS (C compiler flags for the cross compiler)
|
- XBPS_CROSS_CFLAGS (C compiler flags for the cross compiler)
|
||||||
- XBPS_CROSS_CXXFLAGS (C++ compiler flags for the cross compiler)
|
- XBPS_CROSS_CXXFLAGS (C++ compiler flags for the cross compiler)
|
||||||
|
- XBPS_CROSS_FFLAGS (Fortran compiler flags for the cross compiler)
|
||||||
- XBPS_CROSS_CPPFLAGS (Preprocessor flags for the cross compiler)
|
- XBPS_CROSS_CPPFLAGS (Preprocessor flags for the cross compiler)
|
||||||
- XBPS_CROSS_LDFLAGS (Linker flags for the cross compiler)
|
- XBPS_CROSS_LDFLAGS (Linker flags for the cross compiler)
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="aarch64-musl"
|
||||||
XBPS_CROSS_TRIPLET="aarch64-linux-musl"
|
XBPS_CROSS_TRIPLET="aarch64-linux-musl"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv8-a"
|
XBPS_CROSS_CFLAGS="-march=armv8-a"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -6,3 +6,4 @@ XBPS_CFLAGS="-O2 -pipe" # XXX not yet supported: -fstack-protector-strong
|
||||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv8-a"
|
XBPS_CROSS_CFLAGS="-march=armv8-a"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv5tel-musl"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-musleabi"
|
XBPS_CROSS_TRIPLET="arm-linux-musleabi"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv5te -msoft-float -mfloat-abi=soft"
|
XBPS_CROSS_CFLAGS="-march=armv5te -msoft-float -mfloat-abi=soft"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv5tel"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-gnueabi"
|
XBPS_CROSS_TRIPLET="arm-linux-gnueabi"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv5te -msoft-float -mfloat-abi=soft"
|
XBPS_CROSS_CFLAGS="-march=armv5te -msoft-float -mfloat-abi=soft"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv6l-musl"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-musleabihf"
|
XBPS_CROSS_TRIPLET="arm-linux-musleabihf"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv6l"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf"
|
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv7l-musl"
|
||||||
XBPS_CROSS_TRIPLET="armv7l-linux-musleabihf"
|
XBPS_CROSS_TRIPLET="armv7l-linux-musleabihf"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="armv7l"
|
||||||
XBPS_CROSS_TRIPLET="armv7l-linux-gnueabihf"
|
XBPS_CROSS_TRIPLET="armv7l-linux-gnueabihf"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="i686-musl"
|
||||||
XBPS_CROSS_TRIPLET="i686-linux-musl"
|
XBPS_CROSS_TRIPLET="i686-linux-musl"
|
||||||
XBPS_CROSS_CFLAGS="-march=i686"
|
XBPS_CROSS_CFLAGS="-march=i686"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="i686"
|
||||||
XBPS_CROSS_TRIPLET="i686-pc-linux-gnu"
|
XBPS_CROSS_TRIPLET="i686-pc-linux-gnu"
|
||||||
XBPS_CROSS_CFLAGS="-march=i686"
|
XBPS_CROSS_CFLAGS="-march=i686"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="mips-musl"
|
||||||
XBPS_CROSS_TRIPLET="mips-linux-musl"
|
XBPS_CROSS_TRIPLET="mips-linux-musl"
|
||||||
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -msoft-float"
|
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -msoft-float"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="mipsel-musl"
|
||||||
XBPS_CROSS_TRIPLET="mipsel-linux-musl"
|
XBPS_CROSS_TRIPLET="mipsel-linux-musl"
|
||||||
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -msoft-float"
|
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -msoft-float"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="mipselhf-musl"
|
||||||
XBPS_CROSS_TRIPLET="mipsel-linux-muslhf"
|
XBPS_CROSS_TRIPLET="mipsel-linux-muslhf"
|
||||||
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -mhard-float"
|
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -mhard-float"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -4,3 +4,4 @@ XBPS_TARGET_MACHINE="x86_64-musl"
|
||||||
XBPS_CROSS_TRIPLET="x86_64-linux-musl"
|
XBPS_CROSS_TRIPLET="x86_64-linux-musl"
|
||||||
XBPS_CROSS_CFLAGS="-mtune=generic"
|
XBPS_CROSS_CFLAGS="-mtune=generic"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
XBPS_CROSS_FFLAGS=""
|
||||||
|
|
|
@ -9,7 +9,7 @@ unset -v make_cmd make_build_args make_install_args make_build_target make_insta
|
||||||
unset -v patch_args disable_parallel_build keep_libtool_archives
|
unset -v patch_args disable_parallel_build keep_libtool_archives
|
||||||
unset -v reverts subpackages makedepends hostmakedepends depends restricted
|
unset -v reverts subpackages makedepends hostmakedepends depends restricted
|
||||||
unset -v nopie build_options build_options_default bootstrap repository reverts
|
unset -v nopie build_options build_options_default bootstrap repository reverts
|
||||||
unset -v CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
|
unset -v CFLAGS CXXFLAGS FFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
|
||||||
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
|
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
|
||||||
|
|
||||||
# hooks/do-extract/00-distfiles
|
# hooks/do-extract/00-distfiles
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# vim: set ts=4 sw=4 et:
|
# vim: set ts=4 sw=4 et:
|
||||||
|
|
||||||
|
# FIXME: $XBPS_FFLAGS is not set when chroot_init() is run
|
||||||
|
# It is set in common/build-profiles/bootstrap.sh but lost somewhere?
|
||||||
chroot_init() {
|
chroot_init() {
|
||||||
XBPSSRC_CF=$XBPS_MASTERDIR/etc/xbps/xbps-src.conf
|
XBPSSRC_CF=$XBPS_MASTERDIR/etc/xbps/xbps-src.conf
|
||||||
|
|
||||||
|
@ -15,9 +17,9 @@ _EOF
|
||||||
XBPS_MASTERDIR=/
|
XBPS_MASTERDIR=/
|
||||||
XBPS_CFLAGS="$XBPS_CFLAGS"
|
XBPS_CFLAGS="$XBPS_CFLAGS"
|
||||||
XBPS_CXXFLAGS="$XBPS_CXXFLAGS"
|
XBPS_CXXFLAGS="$XBPS_CXXFLAGS"
|
||||||
|
XBPS_FFLAGS="-fPIC -pipe"
|
||||||
XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
|
XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
|
||||||
XBPS_LDFLAGS="$XBPS_LDFLAGS"
|
XBPS_LDFLAGS="$XBPS_LDFLAGS"
|
||||||
XBPS_FFLAGS="$XBPS_FFLAGS"
|
|
||||||
XBPS_HOSTDIR=/host
|
XBPS_HOSTDIR=/host
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,7 @@ setup_pkg() {
|
||||||
basepkg=${pkg%-32bit}
|
basepkg=${pkg%-32bit}
|
||||||
|
|
||||||
# Start with a sane environment
|
# Start with a sane environment
|
||||||
unset -v PKG_BUILD_OPTIONS XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_CPPFLAGS XBPS_CROSS_LDFLAGS
|
unset -v PKG_BUILD_OPTIONS XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_FFLAGS XBPS_CROSS_CPPFLAGS XBPS_CROSS_LDFLAGS
|
||||||
unset -v subpackages run_depends build_depends host_build_depends
|
unset -v subpackages run_depends build_depends host_build_depends
|
||||||
|
|
||||||
unset_package_funcs
|
unset_package_funcs
|
||||||
|
@ -249,7 +249,7 @@ setup_pkg() {
|
||||||
|
|
||||||
else
|
else
|
||||||
export XBPS_TARGET_MACHINE=${XBPS_ARCH:-$XBPS_MACHINE}
|
export XBPS_TARGET_MACHINE=${XBPS_ARCH:-$XBPS_MACHINE}
|
||||||
unset XBPS_CROSS_BASE XBPS_CROSS_LDFLAGS
|
unset XBPS_CROSS_BASE XBPS_CROSS_LDFLAGS XBPS_CROSS_FFLAGS
|
||||||
unset XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_CPPFLAGS
|
unset XBPS_CROSS_CFLAGS XBPS_CROSS_CXXFLAGS XBPS_CROSS_CPPFLAGS
|
||||||
|
|
||||||
XBPS_INSTALL_XCMD="$XBPS_INSTALL_CMD"
|
XBPS_INSTALL_XCMD="$XBPS_INSTALL_CMD"
|
||||||
|
@ -380,9 +380,9 @@ setup_pkg() {
|
||||||
|
|
||||||
export CFLAGS="$XBPS_TARGET_CFLAGS $XBPS_CFLAGS $XBPS_CROSS_CFLAGS $CFLAGS $dbgflags"
|
export CFLAGS="$XBPS_TARGET_CFLAGS $XBPS_CFLAGS $XBPS_CROSS_CFLAGS $CFLAGS $dbgflags"
|
||||||
export CXXFLAGS="$XBPS_TARGET_CXXFLAGS $XBPS_CXXFLAGS $XBPS_CROSS_CXXFLAGS $CXXFLAGS $dbgflags"
|
export CXXFLAGS="$XBPS_TARGET_CXXFLAGS $XBPS_CXXFLAGS $XBPS_CROSS_CXXFLAGS $CXXFLAGS $dbgflags"
|
||||||
|
export FFLAGS="$XBPS_TARGET_FFLAGS $XBPS_FFLAGS $XBPS_CROSS_FFLAGS $FFLAGS"
|
||||||
export CPPFLAGS="$XBPS_TARGET_CPPFLAGS $XBPS_CPPFLAGS $XBPS_CROSS_CPPFLAGS $CPPFLAGS"
|
export CPPFLAGS="$XBPS_TARGET_CPPFLAGS $XBPS_CPPFLAGS $XBPS_CROSS_CPPFLAGS $CPPFLAGS"
|
||||||
export LDFLAGS="$XBPS_TARGET_LDFLAGS $XBPS_LDFLAGS $XBPS_CROSS_LDFLAGS $LDFLAGS"
|
export LDFLAGS="$XBPS_TARGET_LDFLAGS $XBPS_LDFLAGS $XBPS_CROSS_LDFLAGS $LDFLAGS"
|
||||||
export FFLAGS="$XBPS_TARGET_FFLAGS $XBPS_FFLAGS $XBPS_CROSS_FFLAGS $FFLAGS"
|
|
||||||
|
|
||||||
export BUILD_CC="cc"
|
export BUILD_CC="cc"
|
||||||
export BUILD_CFLAGS="$XBPS_CFLAGS"
|
export BUILD_CFLAGS="$XBPS_CFLAGS"
|
||||||
|
|
4
xbps-src
4
xbps-src
|
@ -566,8 +566,8 @@ export XBPS_SHUTILSDIR XBPS_CROSSPFDIR XBPS_TRIGGERSDIR \
|
||||||
XBPS_REPOSITORY XBPS_ALT_REPOSITORY XBPS_SRCDISTDIR XBPS_DIGEST_CMD \
|
XBPS_REPOSITORY XBPS_ALT_REPOSITORY XBPS_SRCDISTDIR XBPS_DIGEST_CMD \
|
||||||
XBPS_UHELPER_CMD XBPS_INSTALL_CMD XBPS_QUERY_CMD \
|
XBPS_UHELPER_CMD XBPS_INSTALL_CMD XBPS_QUERY_CMD \
|
||||||
XBPS_RINDEX_CMD XBPS_RECONFIGURE_CMD XBPS_REMOVE_CMD \
|
XBPS_RINDEX_CMD XBPS_RECONFIGURE_CMD XBPS_REMOVE_CMD \
|
||||||
XBPS_CMPVER_CMD XBPS_FETCH_CMD XBPS_VERSION XBPS_APIVER \
|
XBPS_CMPVER_CMD XBPS_FETCH_CMD XBPS_VERSION XBPS_APIVER XBPS_BUILDSTYLEDIR \
|
||||||
XBPS_BUILDSTYLEDIR XBPS_CPPFLAGS XBPS_CFLAGS XBPS_CXXFLAGS XBPS_LDFLAGS \
|
XBPS_CPPFLAGS XBPS_CFLAGS XBPS_CXXFLAGS XBPS_FFLAGS XBPS_LDFLAGS \
|
||||||
XBPS_MAKEJOBS XBPS_BUILD_FORCEMODE XBPS_USE_GIT_REVS XBPS_DEBUG_PKGS \
|
XBPS_MAKEJOBS XBPS_BUILD_FORCEMODE XBPS_USE_GIT_REVS XBPS_DEBUG_PKGS \
|
||||||
XBPS_CCACHE XBPS_DISTCC XBPS_DISTCC_HOSTS XBPS_SKIP_DEPS \
|
XBPS_CCACHE XBPS_DISTCC XBPS_DISTCC_HOSTS XBPS_SKIP_DEPS \
|
||||||
XBPS_SKIP_REMOTEREPOS XBPS_CROSS_BUILD XBPS_PKG_OPTIONS XBPS_CONFIG_FILE \
|
XBPS_SKIP_REMOTEREPOS XBPS_CROSS_BUILD XBPS_PKG_OPTIONS XBPS_CONFIG_FILE \
|
||||||
|
|
Loading…
Reference in a new issue