summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-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