index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-07-21 08:58:48 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-07-21 08:58:48 +0200 |
commit | 0d9dcdd38f57cf61c8c5c282e68c7c3d7d4bfc96 (patch) | |
tree | 2736ca5d098f72204ab4661a26135410771937e7 /core | |
parent | 541f7dbe2fba4e9ad87701c1169f17525c20ae21 (diff) |
-rw-r--r-- | core/binutils/PKGBUILD | 15 |
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index 711a8ed0..71467e4b 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -32,7 +32,20 @@ if [ "${CARCH}" = "i486" ]; then eval "$( declare -f build | \ sed ' - s,configure",configure" --disable-cet, + s,configure",configure" --enable-cet=no, + ' + )" +else + # explicitely enable CET (Control Flow instructions endbr32/enbr64) + # avoid "corrupt GNU_PROPERTY_TYPE (5) size: 0" warnings, + # see: + # https://bbs.archlinux32.org/viewtopic.php?pid=6160#p6160 + # https://bugs.archlinux32.org/index.php?do=details&task_id=82 + # + eval "$( + declare -f build | \ + sed ' + s,configure",configure" --enable-cet=yes, ' )" fi |