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
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
environment setup/install.sh: transparently deal with gzipped manpages 2018-08-12 04:21:46 -03:00
hooks
repo-keys
travis disable auto mirror 2018-07-03 12:39:40 +02:00
wrappers
xbps-src shutils/update_check.sh: add kde plasma update check 2018-07-13 11:46:07 -03:00
options.description
shlibs gcc: update to 8.2.0 2018-08-15 06:50:23 +02:00