[arch-commits] Commit in gcc/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Mon Oct 31 12:14:46 UTC 2016


    Date: Monday, October 31, 2016 @ 12:14:46
  Author: allan
Revision: 279525

prepare PIE enabled toolchain

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-31 09:37:32 UTC (rev 279524)
+++ PKGBUILD	2016-10-31 12:14:46 UTC (rev 279525)
@@ -8,7 +8,7 @@
 pkgver=6.2.1
 _pkgver=6
 _islver=0.16.1
-pkgrel=1
+pkgrel=1.90
 _commit=c2103c17
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
@@ -22,9 +22,6 @@
 md5sums=('SKIP'
          'ac1f25a0677912952718a51f5bc20f32')
 
-# gcc-6.0 forces a changed triplet - need to address in pacman/devtools
-[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
-
 _libdir="usr/lib/gcc/$CHOST/$pkgver"
 
 prepare() {
@@ -54,18 +51,32 @@
   CXXFLAGS=${CXXFLAGS/-pipe/}
 
   ${srcdir}/gcc/configure --prefix=/usr \
-      --libdir=/usr/lib --libexecdir=/usr/lib \
-      --mandir=/usr/share/man --infodir=/usr/share/info \
+      --libdir=/usr/lib \
+      --libexecdir=/usr/lib \
+      --mandir=/usr/share/man \
+      --infodir=/usr/share/info \
       --with-bugurl=https://bugs.archlinux.org/ \
       --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
-      --enable-shared --enable-threads=posix --enable-libmpx \
-      --with-system-zlib --with-isl --enable-__cxa_atexit \
-      --disable-libunwind-exceptions --enable-clocale=gnu \
-      --disable-libstdcxx-pch --disable-libssp \
-      --enable-gnu-unique-object --enable-linker-build-id \
-      --enable-lto --enable-plugin --enable-install-libiberty \
-      --with-linker-hash-style=gnu --enable-gnu-indirect-function \
-      --disable-multilib --disable-werror \
+      --enable-shared \
+      --enable-threads=posix \
+      --enable-libmpx \
+      --with-system-zlib \
+      --with-isl \
+      --enable-__cxa_atexit \
+      --disable-libunwind-exceptions \
+      --enable-clocale=gnu \
+      --disable-libstdcxx-pch \
+      --disable-libssp \
+      --enable-gnu-unique-object \
+      --enable-linker-build-id \
+      --enable-lto \
+      --enable-plugin \
+      --enable-install-libiberty \
+      --with-linker-hash-style=gnu \
+      --enable-gnu-indirect-function \
+      --enable-default-pie \
+      --disable-multilib \
+      --disable-werror \
       --enable-checking=release
 
   make



More information about the arch-commits mailing list