use the -f version of flags instead of -m for gcc-4+ too
authorMike Frysinger <vapier@gentoo.org>
Mon, 29 Aug 2005 23:53:51 +0000 (23:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 29 Aug 2005 23:53:51 +0000 (23:53 +0000)
Package-Manager: portage-2.0.51.22-r2

games-emulation/xmame/xmame-0.99-r1.ebuild
games-emulation/xmess/xmess-0.99-r1.ebuild

index 490be374458c369fe5141c7ae4304473bbc1d133..f389cfa38a120798176ee596a0d0ab8494d039d5 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.99-r1.ebuild,v 1.2 2005/08/25 21:58:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.99-r1.ebuild,v 1.3 2005/08/29 23:53:18 vapier Exp $
 
 inherit flag-o-matic toolchain-funcs eutils games
 
@@ -107,7 +107,7 @@ src_unpack() {
                x86|ia64|amd64)
                        append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce
                        use amd64 || append-flags -ffast-math #54270
-                       [[ $(gcc-major-version) -eq 3 ]] \
+                       [[ $(gcc-major-version) -ge 3 ]] \
                                && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \
                                || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2
                        ;;
index 32e566f7bec9aba04f496e8c2710b1eee3cf6cc4..d11622c970fb276e8462ea7eef999579c6aa5a37 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.99-r1.ebuild,v 1.2 2005/08/25 23:33:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.99-r1.ebuild,v 1.3 2005/08/29 23:53:51 vapier Exp $
 
 inherit flag-o-matic toolchain-funcs eutils games
 
@@ -107,7 +107,7 @@ src_unpack() {
                x86|ia64|amd64)
                        append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce
                        use amd64 || append-flags -ffast-math #54270
-                       [[ $(gcc-major-version) -eq 3 ]] \
+                       [[ $(gcc-major-version) -ge 3 ]] \
                                && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \
                                || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2
                        ;;