void-packages/common
maxice8 6580c8d657
build_style/meson.sh: export CFLAGS and CXXFLAGS from host
meson when compiling something with 'native: true' (for building
executables that are meant to be run on the host system) uses CFLAGS
and CXXFLAGS environment variables, we "pollute" them with
TARGET system cflags/cxxflags, such as -march= for the cross-compiled
arch.

so to fix it we export CFLAGS and CXXFLAGS to be CFLAGS_host and
CXXFLAGS_host respectively, they are set by XBPS and correspond to
the XBPS_CFLAGS/XBPS_CXXFLAGS. This same set of changes is also done
with CC and CXX see L#61

this was found when cross-compiling lighttpd which created the
'lemon' executable to generate inputs

thanks to @Cogitri from Exherbo for helping me debug this

[ci skip]
2018-08-16 01:49:38 -03:00
..
build-profiles xbps-src: trying to fix FFLAGS construction 2017-03-08 17:36:22 +01:00
build-style build_style/meson.sh: export CFLAGS and CXXFLAGS from host 2018-08-16 01:49:38 -03:00
chroot-style xbps-src: include new chroot implementation (bubblewrap) 2018-06-12 09:36:39 +02:00
cross-profiles New package: cross-mips-linux-muslhf-0.24 2017-11-24 10:11:23 +01:00
environment setup/install.sh: transparently deal with gzipped manpages 2018-08-12 04:21:46 -03:00
hooks Revert "common/hooks: add hook to check python dependencies" 2018-06-05 16:17:27 +02:00
repo-keys xbps-src: add rsa pubkey for musl.voidlinux.net. 2015-05-08 09:50:21 +02:00
travis disable auto mirror 2018-07-03 12:39:40 +02:00
wrappers common/wrappers/ldconfig.sh: pass through -p. 2017-08-28 19:52:07 +02:00
xbps-src shutils/update_check.sh: add kde plasma update check 2018-07-13 11:46:07 -03:00
options.description options.description: added vulkan build option description 2018-01-12 13:27:22 +01:00
shlibs gcc: update to 8.2.0 2018-08-15 06:50:23 +02:00