fix remaining warnings, fix compiling errors when using --release

This commit is contained in:
jacob1
2013-10-29 23:55:10 -04:00
parent 45bf0dfcdb
commit 0180c9b15a
4 changed files with 8 additions and 7 deletions

View File

@@ -287,7 +287,7 @@ if(GetOption('release')):
if GetOption('macosx'):
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer'])
else:
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer', '-funsafe-loop-optimizations', '-Wunsafe-loop-optimizations'])
env.Append(CCFLAGS=['-O3', '-ftree-vectorize', '-funsafe-math-optimizations', '-ffast-math', '-fomit-frame-pointer', '-funsafe-loop-optimizations', '-Wno-invalid-offsetof'])
# rpi specific enviroment settings
# ++++++++++++++++++++++++++++++++