proper flags order to avoid the horrible non-virtual destructor warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5926 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8d5bca8080
commit
6f8cb01206
1 changed files with 3 additions and 2 deletions
|
@ -89,9 +89,10 @@ makensis_env = defenv.Clone()
|
|||
makensis_env.Append(CPPPATH = ['#$BUILD_CONFIG'])
|
||||
|
||||
if not defenv['DEBUG']:
|
||||
makensis_env.Append(CCFLAGS = ['-O2']) # optimize
|
||||
makensis_env.Append(CCFLAGS = ['-Wall']) # all warnings
|
||||
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
|
||||
|
||||
conf = FlagsConfigure(makensis_env)
|
||||
conf.CheckCompileFlag('-m32') #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue