[arch-commits] Commit in gcc/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Aug 14 09:43:04 UTC 2011
Date: Sunday, August 14, 2011 @ 05:43:04
Author: allan
Revision: 135496
upgpkg: gcc 4.6.1-3
complete toolchain with dependencies rebuild with new CFLAGS/LDFLAGS, do not build libssp with hardening flags as it causes breakage
Modified:
gcc/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-14 09:41:50 UTC (rev 135495)
+++ PKGBUILD 2011-08-14 09:43:04 UTC (rev 135496)
@@ -6,7 +6,7 @@
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
pkgver=4.6.1
-pkgrel=2
+pkgrel=3
#_snapshot=4.6-20110603
_libstdcppmanver=20110201 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
@@ -66,6 +66,14 @@
--disable-multilib --disable-libstdcxx-pch \
--enable-checking=release
make
+
+ # rebuild libssp without -fstack-protector and -D_FORTIFY_SOURCE=2
+ # adjusting Makefile.in prior to build still results in these leaking through (yay libtool...)
+ cd $CHOST/libssp
+ sed -i -e "s#-fstack-protector#-fno-stack-protector#" \
+ -e "s#-D_FORTIFY_SOURCE=2#-U_FORTIFY_SOURCE#" Makefile
+ make clean
+ make
}
check() {
More information about the arch-commits
mailing list