crash: nopie on i686.

This commit is contained in:
Christian Neukirchen 2015-12-17 15:45:50 +01:00
parent dbed44e95c
commit 856990ab07

View file

@ -13,6 +13,10 @@ distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz"
checksum=2c84b7d33cbf2145fc5af8064744a8496dd2383d63d51cd00f657f474a82434c
nocross=yes
case "$XBPS_TARGET_MACHINE" in
i686*) nopie=yes;; # broken CPUID inline assembly
esac
post_extract() {
sed -i 's|arch|uname -a|g' extensions/snap.mk
sed -i 's|/usr/lib/debug/lib/modules|/usr/lib/debug/usr/lib/modules|g' defs.h