avoid warnings about stdcall being ignored
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6434 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3479c12645
commit
410b1b7a7a
1 changed files with 2 additions and 1 deletions
|
@ -102,10 +102,11 @@ makensis_env = tdefenv.Clone()
|
|||
makensis_env.Append(CPPPATH = ['#$BUILD_CONFIG'])
|
||||
|
||||
if not defenv['DEBUG']:
|
||||
makensis_env.Append(CCFLAGS = ['-O2']) # optimize
|
||||
makensis_env.Append(CCFLAGS = ['-O2']) # optimize
|
||||
makensis_env.Append(CFLAGS = ['-Wall']) # all warnings
|
||||
makensis_env.Append(CXXFLAGS = ['-Wno-non-virtual-dtor']) # ignore virtual dtor warnings
|
||||
makensis_env.Append(CXXFLAGS = ['-Wall']) # all warnings
|
||||
makensis_env['STDCALL'] = '' # avoid warnings
|
||||
|
||||
conf = FlagsConfigure(makensis_env)
|
||||
conf.CheckLinkFlag('$MAP_FLAG') # generate map file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue