6de7406d54
The pkgconf fork filters -I and -L flag values from .pc files which match
pkgconf's builtin system directory value.
During configure, pkgconf derives the default system include and library
search path values from exec_prefix, which is set to staging_dir/host in
the host tool build phase.
Due to that, pkgconf will drop all -I and -L flags pointing to
staging_dir/host/include or staging_dir/host/lib, unless invoked with
--keep-system-cflags and --keep-system-libs respectively, breaking our
kernel libelf discovery / stack validation workarounds.
In order to inhibit the filtering, add --keep-system-cflags and
--keep-system-libs to our pkg-config shell wrapper.
Fixes: GH#2832
Fixes:
|
||
---|---|---|
.. | ||
autoconf | ||
automake | ||
b43-tools | ||
bc | ||
bison | ||
cbootimage | ||
cbootimage-configs | ||
ccache | ||
cmake | ||
coreutils | ||
dosfstools | ||
e2fsprogs | ||
elftosb | ||
expat | ||
findutils | ||
firmware-utils | ||
flex | ||
flock | ||
genext2fs | ||
gengetopt | ||
gmp | ||
include | ||
isl | ||
kernel2minor | ||
libelf | ||
libressl | ||
libtool | ||
lzma | ||
lzma-old | ||
m4 | ||
make-ext4fs | ||
missing-macros | ||
mkimage | ||
mklibs | ||
mm-macros | ||
mpc | ||
mpfr | ||
mtd-utils | ||
mtools | ||
padjffs2 | ||
patch | ||
patch-image | ||
patchelf | ||
pkgconf | ||
qemu | ||
quilt | ||
sdimage | ||
sed | ||
sparse | ||
squashfs | ||
squashfskit4 | ||
sstrip | ||
tar | ||
upslug2 | ||
wrt350nv2-builder | ||
xz | ||
zip | ||
zlib | ||
Makefile |