more of bug #1635841 - gcc strict-aliasing and build system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5000 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
576446db5e
commit
7b6071caec
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ cp_util_env = defenv.Clone()
|
|||
if not defenv['DEBUG']:
|
||||
cp_util_env.Append(CCFLAGS = '-O2') # optimize
|
||||
cp_util_env.Append(CCFLAGS = '-Wall') # all warnings
|
||||
cp_util_env.Append(CCFLAGS = '-fno-strict-aliasing') # not safe for strict aliasing
|
||||
|
||||
conf = FlagsConfigure(cp_util_env)
|
||||
conf.CheckLinkFlag('$MAP_FLAG') # generate map file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue