summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-23 10:05:11 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-23 10:05:11 +0000
commitb435d311eec624faa66551a6a76a7a9f209858b3 (patch)
tree139b8ca331770f25953030a861990240076de7a7
parent38238b58d0ac83d87b242c6e57f598f14c3af9c4 (diff)
downloadmidipix_build-b435d311eec624faa66551a6a76a7a9f209858b3.tar.bz2
midipix_build-b435d311eec624faa66551a6a76a7a9f209858b3.tar.xz
vars/pkgconf_host.vars:pkg_pkgconf_host_install_make_post(): pass --keep-system-cflags to pkgconf in wrapper script to prevent CFLAGS or linker flag fragments from being filtered.
-rw-r--r--vars/pkgconf_host.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars
index 386c3c10..0f345906 100644
--- a/vars/pkgconf_host.vars
+++ b/vars/pkgconf_host.vars
@@ -11,7 +11,7 @@ pkg_pkgconf_host_install_make_post() {
if [ -z "\${PREFIX_NATIVE}" ]; then
PREFIX_NATIVE="${PREFIX_NATIVE}";
fi;
-"\$(dirname "\${0}")"/pkgconf --define-variable=prefix="\${PREFIX_NATIVE%/}/" "\${@}";
+"\$(dirname "\${0}")"/pkgconf --define-variable=prefix="\${PREFIX_NATIVE%/}/" --keep-system-cflags "\${@}";
EOF
chmod +x "${PKG_DESTDIR}/bin/${PKG_TARGET}-pkg-config";
ex_rtl_fileop rm "${PKG_DESTDIR}/bin/pkg-config";