summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelix2016-04-30 06:02:09 +0200
committerfelix2016-04-30 06:34:49 +0200
commitae9ea4fd06584fc17c55249aa35bdfd5031a216a (patch)
tree75d440350fdceb5038b97f5fe1a057d64c8bc5e4
parentc89d32e0a6111eccf9e1b36d8c6348bd176aa978 (diff)
downloadaur-ae9ea4fd06584fc17c55249aa35bdfd5031a216a.tar.gz
Apply the xmmintrin.h patch
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e3e986b90823..ca7bbf1e261f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,6 +55,8 @@ prepare() {
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
# hack! - some configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/ s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+ # make xmmintrin.h includable from C++
+ patch -Np0 < ../gcc-make-xmmintrin-header-cplusplus-compatible.patch
# actually build the lto plugin
patch -Np0 < ../lto.patch