diff options
author | obache <obache@pkgsrc.org> | 2013-06-13 09:02:50 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-06-13 09:02:50 +0000 |
commit | 5b1601e0716cd065520a0e851a4cbba4bd3e7500 (patch) | |
tree | 644a04db8acb28e0ff9ee91cabbdb0d124c44e45 /graphics/Coin | |
parent | 42adb77960837ac8138828ecb54d9b5494c32704 (diff) | |
download | pkgsrc-5b1601e0716cd065520a0e851a4cbba4bd3e7500.tar.gz |
mk/compiler.mk is included after mk/bsd.hacks.mk in mk/bsd.pkg.mk,
so it must be included in hacks.mk exactly before using CC_VERSION.
Diffstat (limited to 'graphics/Coin')
-rw-r--r-- | graphics/Coin/hacks.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/Coin/hacks.mk b/graphics/Coin/hacks.mk index 2dfa0f10646..0a82279dd7d 100644 --- a/graphics/Coin/hacks.mk +++ b/graphics/Coin/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.5 2013/06/11 15:22:47 ryoon Exp $ +# $NetBSD: hacks.mk,v 1.6 2013/06/13 09:02:50 obache Exp $ .if !defined(COIN_HACKS_MK) COIN_HACKS_MK= defined @@ -8,6 +8,7 @@ COIN_HACKS_MK= defined ### compiler error. This is a workaround for PR toolchain/33097. ### Not sure if other platforms have the same issue. ### +.include "../../mk/compiler.mk" .if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-3.*) PKG_HACKS+= optimization BUILDLINK_TRANSFORM+= rm:-O[0-9]* |