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
This commit is contained in:
parent
ddff4f3946
commit
16280a6389
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue