diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2003-05-19 00:43:19 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2003-05-19 00:43:19 +0000 |
commit | ddb362042489aff2bd651e755f4334bfc97ba7a4 (patch) | |
tree | 480e216c36c57104d5ec9038bf07359cf467466a /sys-apps/groff | |
parent | fix gcc-3.3 issues, bug #21213 (diff) | |
download | gentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.tar.gz gentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.tar.bz2 gentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.zip |
Removing some gcc hardcodes, using ${CC:-gcc} instead.
Diffstat (limited to 'sys-apps/groff')
-rw-r--r-- | sys-apps/groff/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/groff/groff-1.18.1-r1.ebuild | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sys-apps/groff/ChangeLog b/sys-apps/groff/ChangeLog index 2d45caa2c8c9..42e9edd784cb 100644 --- a/sys-apps/groff/ChangeLog +++ b/sys-apps/groff/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/groff # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.22 2003/05/09 01:57:54 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.23 2003/05/19 00:43:19 taviso Exp $ + + 18 May 2003; Tavis Ormandy <taviso@gentoo.org> groff-1.18.1-r1.ebuild: + stripping some flags if cxx is being used. *groff-1.18.1-r2 (18 Mar 2003) diff --git a/sys-apps/groff/groff-1.18.1-r1.ebuild b/sys-apps/groff/groff-1.18.1-r1.ebuild index 31db86ca514d..c5b23e189cbb 100644 --- a/sys-apps/groff/groff-1.18.1-r1.ebuild +++ b/sys-apps/groff/groff-1.18.1-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r1.ebuild,v 1.7 2003/03/18 22:09:12 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r1.ebuild,v 1.8 2003/05/19 00:43:19 taviso Exp $ IUSE="" -inherit eutils +inherit eutils flag-o-matic S="${WORKDIR}/${P}" DESCRIPTION="Text formatter used for man pages" @@ -41,6 +41,12 @@ src_compile() { [ -z "${CC}" ] && export CC="gcc" [ -z "${CXX}" ] && export CXX="g++" + # cxx b0rks with too much optimisation. -taviso. + if [ "${ARCH}" == "alpha" -a "${CXX}" == "cxx" ]; then + replace-flags -fast -O1 + replace-flags -O? -O1 + fi + ./configure --host=${CHOST} \ --prefix=/usr \ --mandir=/usr/share/man \ |