From e9a5c646563c984f362db1777f8c6bc7da63a4ab Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Aug 2011 23:14:35 +0000 Subject: Sun Aug 21 23:14:34 UTC 2011 --- core/gcc/PKGBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'core/gcc') diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index ecba694b3..a5ac9be2b 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 130912 2011-07-09 03:10:41Z allan $ +# $Id: PKGBUILD 135922 2011-08-20 07:14:22Z allan $ # Maintainer: Allan McRae # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc @@ -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 @@ build() { --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() { -- cgit v1.2.3-54-g00ecf