Fix FTBFS on Debian GNU/Linux amd64 due to not enough use of -m32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5565 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
98909c6884
commit
8666849f94
1 changed files with 7 additions and 1 deletions
|
@ -134,9 +134,11 @@ if not defenv['DEBUG'] and defenv['STRIP'] and defenv['STRIP_W32']:
|
||||||
util_env.Append(LINKFLAGS = '-s') # strip
|
util_env.Append(LINKFLAGS = '-s') # strip
|
||||||
conf.Finish()
|
conf.Finish()
|
||||||
|
|
||||||
### cross-platform util environment stripping
|
### cross-platform util environment adjustments
|
||||||
|
|
||||||
conf = FlagsConfigure(cp_util_env)
|
conf = FlagsConfigure(cp_util_env)
|
||||||
|
conf.CheckCompileFlag('-m32')
|
||||||
|
conf.CheckLinkFlag('-m32')
|
||||||
if not defenv['DEBUG'] and defenv['STRIP'] and defenv['STRIP_CP']:
|
if not defenv['DEBUG'] and defenv['STRIP'] and defenv['STRIP_CP']:
|
||||||
TestStrip(conf) # strip
|
TestStrip(conf) # strip
|
||||||
conf.Finish()
|
conf.Finish()
|
||||||
|
@ -144,6 +146,10 @@ conf.Finish()
|
||||||
### test environment
|
### test environment
|
||||||
|
|
||||||
test_env = defenv.Clone()
|
test_env = defenv.Clone()
|
||||||
|
conf = FlagsConfigure(test_env)
|
||||||
|
conf.CheckCompileFlag('-m32')
|
||||||
|
conf.CheckLinkFlag('-m32')
|
||||||
|
conf.Finish()
|
||||||
|
|
||||||
### weird GCC requirements
|
### weird GCC requirements
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue