diff options
author | Alexander Gabert <pappy@gentoo.org> | 2003-09-06 17:06:39 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2003-09-06 17:06:39 +0000 |
commit | a6234253903ff65849b3f27a5d2d2bdee969a9be (patch) | |
tree | 342035de4415fc355a39b3c2cc0e0a4e475749ea /media-libs/svgalib | |
parent | added hardened-gcc exclude CC flag for proper compilation (diff) | |
download | historical-a6234253903ff65849b3f27a5d2d2bdee969a9be.tar.gz historical-a6234253903ff65849b3f27a5d2d2bdee969a9be.tar.bz2 historical-a6234253903ff65849b3f27a5d2d2bdee969a9be.zip |
added hardened-gcc exclude CC flag for proper compilation
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/Manifest | 6 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.4.3-r4.ebuild | 8 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.17-r3.ebuild | 8 |
3 files changed, 17 insertions, 5 deletions
diff --git a/media-libs/svgalib/Manifest b/media-libs/svgalib/Manifest index 35c39397f176..a87b381cfe66 100644 --- a/media-libs/svgalib/Manifest +++ b/media-libs/svgalib/Manifest @@ -1,7 +1,7 @@ -MD5 a3e244024045d5b467302f5c1caca927 ChangeLog 3172 -MD5 e0d015fba12882be654c62e3fbd4f23a svgalib-1.4.3-r4.ebuild 2451 +MD5 df7d2bf0db01fb8f77a5724c9dc78676 ChangeLog 3171 +MD5 22a8d902f078336dc8e27a2914b5c398 svgalib-1.4.3-r4.ebuild 2450 MD5 19d55b7554e183a9972f1486d6d0cdd1 svgalib-1.9.17-r2.ebuild 2657 -MD5 581740ad5b546fd48ee5ed2e814d99d7 svgalib-1.9.17-r3.ebuild 2941 +MD5 6526af9fa06c8f6644715d7f47c57e8c svgalib-1.9.17-r3.ebuild 2940 MD5 939b8bf99fcf4fccef7d92377df90dc2 files/digest-svgalib-1.4.3-r4 115 MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r2 66 MD5 e4ead3e3192f5a945ff177331122d7ae files/digest-svgalib-1.9.17-r3 66 diff --git a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild index 3511d98a1bef..1caf4f029e2e 100644 --- a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild +++ b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.5 2003/08/07 03:55:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.6 2003/09/06 17:06:33 pappy Exp $ inherit eutils @@ -27,6 +27,12 @@ src_unpack() { } src_compile() { + + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml + if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then + CFLAGS="${CFLAGS} -yet_exec" + fi + make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || die # Build the gl stuff tpp make OPTIMIZE="${CFLAGS}" -C gl || die diff --git a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild index 4e3ddd226188..d84f2a48f3cc 100644 --- a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild +++ b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.2 2003/08/07 03:55:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.3 2003/09/06 17:06:33 pappy Exp $ inherit eutils @@ -32,6 +32,12 @@ src_unpack() { } src_compile() { + + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml + if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then + CC="${CC} -yet_exec" + fi + make OPTIMIZE="${CFLAGS}" static shared textutils lrmi utils || \ die "Failed to build libraries and utils!" # Build the gl stuff tpp |