diff options
author | Eole | 2015-10-23 15:00:56 +0200 |
---|---|---|
committer | Eole | 2015-10-23 15:00:56 +0200 |
commit | f0ee0246ee8930f06cfd53c780be83c735bb4a9a (patch) | |
tree | 85c0df9625fea5cc4d4f5afc2bff9b1fb8f38945 | |
parent | 946463180e32e84893a03950a014fd06c0ab37ea (diff) | |
download | aur-f0ee0246ee8930f06cfd53c780be83c735bb4a9a.tar.gz |
Build Error Corrected
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -16,19 +16,27 @@ _sysroot="/usr/lib/cross-${_target}" prepare() { cd ${srcdir}/${_pkgname}-${pkgver} + + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure } build() { cd ${srcdir}/${_pkgname}-${pkgver} ./configure \ - --prefix=${_sysroot} \ - --bindir=/usr/bin --program-prefix=${_target}- \ - --with-sysroot=${_sysroot} \ - --target=${_target} \ - --with-gnu-as --with-gnu-ld + "--prefix=${_sysroot}" \ + "--bindir=/usr/bin" "--program-prefix=${_target}-" \ + "--with-sysroot=${_sysroot}" \ + "--target=${_target}" \ + --oldincludedir=/../../../usr/include \ + --with-gnu-as --with-gnu-ld \ + --disable-nls --disable-threads \ + --enable-languages=c,c++ \ + --disable-multilib --disable-libgcj \ + --enable-lto --disable-werror \ + --without-headers --disable-shared - make all-gcc + make all-gcc "inhibit_libc=true" } package() { |