diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-03-21 16:05:05 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-03-21 16:05:05 +0000 |
commit | 6e28a27ba8dce9d05d194c94f292ca54adc9d6ff (patch) | |
tree | 112d3d103f231dc103f11981738c95351debce92 /app-office | |
parent | New ebuild. (diff) | |
download | gentoo-2-6e28a27ba8dce9d05d194c94f292ca54adc9d6ff.tar.gz gentoo-2-6e28a27ba8dce9d05d194c94f292ca54adc9d6ff.tar.bz2 gentoo-2-6e28a27ba8dce9d05d194c94f292ca54adc9d6ff.zip |
fix gcc check, bug #263152
(Portage version: 2.1.6.7/cvs/Linux ia64)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/mozilla-sunbird/ChangeLog | 5 | ||||
-rw-r--r-- | app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/app-office/mozilla-sunbird/ChangeLog b/app-office/mozilla-sunbird/ChangeLog index b0b2ce31be08..d916500a25f3 100644 --- a/app-office/mozilla-sunbird/ChangeLog +++ b/app-office/mozilla-sunbird/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-office/mozilla-sunbird # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/ChangeLog,v 1.41 2009/02/15 19:01:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/ChangeLog,v 1.42 2009/03/21 16:05:05 armin76 Exp $ + + 21 Mar 2009; Raúl Porcel <armin76@gentoo.org> mozilla-sunbird-0.9.ebuild: + fix gcc check, bug #263152 15 Feb 2009; Raúl Porcel <armin76@gentoo.org> mozilla-sunbird-0.9.ebuild: Bump patchset to fix failure with gcc-4.3, bug #258075 diff --git a/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild b/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild index 2f7c1cad0249..e28539b80ef8 100644 --- a/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild +++ b/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild,v 1.5 2009/02/15 19:01:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/mozilla-sunbird-0.9.ebuild,v 1.6 2009/03/21 16:05:05 armin76 Exp $ WANT_AUTOCONF="2.1" @@ -144,9 +144,9 @@ src_compile() { # Finalize and report settings mozconfig_final - # hardened GCC uses -fstack-protector-all by default, which breaks us - gcc-specs-ssp && append-flags -fno-stack-protector-all - replace-flags -fstack-protector-all -fstack-protector + if [[ $(gcc-major-version) -lt 4 ]]; then + append-cxxflags -fno-stack-protector + fi #################################### # |