diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2007-08-22 21:29:50 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2007-08-22 21:29:50 +0000 |
commit | a38bbb3947325607d8f86792f83b716ac5056337 (patch) | |
tree | c6d405c6e78dddbe0078123e1a8bd3f8ad8031eb /dev-lang/smarteiffel | |
parent | Stable on sparc wrt #189875 (diff) | |
download | gentoo-2-a38bbb3947325607d8f86792f83b716ac5056337.tar.gz gentoo-2-a38bbb3947325607d8f86792f83b716ac5056337.tar.bz2 gentoo-2-a38bbb3947325607d8f86792f83b716ac5056337.zip |
Use -fno-strict-overflow with GCC 4.2 (#189782)
(Portage version: 2.1.3.6)
Diffstat (limited to 'dev-lang/smarteiffel')
-rw-r--r-- | dev-lang/smarteiffel/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/smarteiffel/smarteiffel-2.2.ebuild | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-lang/smarteiffel/ChangeLog b/dev-lang/smarteiffel/ChangeLog index c93c2d9c99ee..f683df8b9750 100644 --- a/dev-lang/smarteiffel/ChangeLog +++ b/dev-lang/smarteiffel/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/smarteiffel # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.23 2007/08/13 20:16:58 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/ChangeLog,v 1.24 2007/08/22 21:29:50 truedfx Exp $ + + 22 Aug 2007; Harald van Dijk <truedfx@gentoo.org> smarteiffel-2.2.ebuild: + Use -fno-strict-overflow with GCC 4.2 (#189782) 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> smarteiffel-1.1.ebuild: diff --git a/dev-lang/smarteiffel/smarteiffel-2.2.ebuild b/dev-lang/smarteiffel/smarteiffel-2.2.ebuild index 7d18f0ffeb13..80fcfb3e667b 100644 --- a/dev-lang/smarteiffel/smarteiffel-2.2.ebuild +++ b/dev-lang/smarteiffel/smarteiffel-2.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-2.2.ebuild,v 1.2 2007/07/13 06:25:50 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/smarteiffel/smarteiffel-2.2.ebuild,v 1.3 2007/08/22 21:29:50 truedfx Exp $ -inherit toolchain-funcs multilib +inherit flag-o-matic toolchain-funcs multilib MY_PV="${PV/./-}" S="${WORKDIR}/SmartEiffel" @@ -21,6 +21,11 @@ DEPEND="tcc? ( >=dev-lang/tcc-0.9.14 )" # Destination directory to hold most of the SmartEiffel distribution. SE_DIR="/usr/$(get_libdir)/SmartEiffel" +pkg_setup() { + # bug #189782 + append-flags $(test-flags -fno-strict-overflow) +} + src_compile() { use tcc && CFLAGS="" use tcc && COMPILER=tcc || COMPILER="$(tc-getCC)" |