diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2006-12-03 17:07:41 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2006-12-03 17:07:41 +0000 |
commit | 0b3700795febd292c900dd7c3781a4e55565d4e2 (patch) | |
tree | 45ac41449fd62e8bfae7f89358a653266c2b73c0 /emulators/dgen/Makefile | |
parent | 4c746db70df52a229b0b020655ddc0166feeeef4 (diff) | |
download | pkgsrc-0b3700795febd292c900dd7c3781a4e55565d4e2.tar.gz |
Make this build with gcc4.
Diffstat (limited to 'emulators/dgen/Makefile')
-rw-r--r-- | emulators/dgen/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/dgen/Makefile b/emulators/dgen/Makefile index e6c41bc2e4b..290fc9f42c2 100644 --- a/emulators/dgen/Makefile +++ b/emulators/dgen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2006/12/03 17:07:41 xtraeme Exp $ # DISTNAME= dgen-sdl-1.23 @@ -25,7 +25,7 @@ BUILDLINK_TRANSFORM+= rm:-march=pentium BUILDLINK_TRANSFORM+= rm:-fno-rtti .include "../../mk/compiler.mk" -.if !empty(CC_VERSION:Mgcc-3*) +.if !empty(CC_VERSION:Mgcc-[34]*) BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1' BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1' BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1' |