qemu: workaround glibc's sys/xattr.h kludge.

This commit is contained in:
Juan RP 2014-09-11 18:10:51 +02:00
parent f94d9191a7
commit 24d5a76e79
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ do_configure() {
sed -e 's,-rpath /usr/local/lib,,g' -i configure
# XXX remove this when kernel headers are updated to 3.16.
export CFLAGS+=" -D_LINUX_XATTR_H"
if [ "$CROSS_BUILD" ]; then
args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-"
export PKG_CONFIG=pkg-config