diff options
author | wtx | 2017-12-24 12:34:21 +0100 |
---|---|---|
committer | wtx | 2017-12-24 12:34:21 +0100 |
commit | f91557b10e2979605175b3628efdac1b960a8940 (patch) | |
tree | 5cd5a2bb8088dc3663c017b71765ae02b9522186 /PKGBUILD | |
parent | 54f8e626d2ada07cd1a8e8e349880eb59f61dac2 (diff) | |
download | aur-f91557b10e2979605175b3628efdac1b960a8940.tar.gz |
Compilation fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -56,6 +56,9 @@ prepare() { sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure patch -p1 -i ${startdir}/cfns.h.diff + patch -p1 -i ${startdir}/ucontext_t.patch + patch -p1 -i ${startdir}/sigaltstack.patch + patch -p1 -i ${startdir}/libsanitizer.patch mkdir -p ${srcdir}/gcc-build } @@ -68,6 +71,7 @@ build() { CFLAGS=${CFLAGS/-pipe/} CXXFLAGS=${CXXFLAGS/-pipe/} + export LD_PRELOAD=/lib/libstdc++.so.6 ${srcdir}/${_basedir}/configure --prefix=/usr/gcc49 --exec-prefix=/usr/gcc49 \ |