From 16280a63896aee7b8f2b58c3da040171ccadf67e Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 14 Oct 2007 21:25:57 +0000 Subject: [PATCH] check compiler flag `-m32' before linker flag as some gcc versions crash when linking non 32-bit objects with this flag git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5336 212acab6-be3b-0410-9dea-997c60f758d6 --- SCons/Config/gnu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCons/Config/gnu b/SCons/Config/gnu index aec4de6e..c1c190c8 100644 --- a/SCons/Config/gnu +++ b/SCons/Config/gnu @@ -85,8 +85,8 @@ makensis_env.Append(CCFLAGS = '-Wall') # all warnings makensis_env.Append(CXXFLAGS = '-Wno-non-virtual-dtor') # ignore virtual dtor warnings conf = FlagsConfigure(makensis_env) -conf.CheckLinkFlag('-m32') # conf.CheckCompileFlag('-m32') # +conf.CheckLinkFlag('-m32') # conf.CheckLinkFlag('$MAP_FLAG') # generate map file if not defenv['DEBUG'] and defenv['STRIP']: TestStrip(conf) # strip