snaaaaaaaaaaaaaaaaakes

This commit is contained in:
Nicholas Hastings 2013-08-15 18:49:55 -04:00
parent 6f0f6676db
commit 61bc6ec825

View File

@ -148,7 +148,7 @@ class SM:
if (self.vendor == 'gcc' and cxx.majorVersion >= 4) or self.vendor == 'clang':
self.compiler.AddToListVar('CFLAGS', '-fvisibility=hidden')
self.compiler.AddToListVar('CXXFLAGS', '-fvisibility-inlines-hidden')
if (self.vendor == 'gcc' and cxx.majorVersion >= 4 && cxx.minorVersoin >= 6) or self.vendor == 'clang':
if (self.vendor == 'gcc' and cxx.majorVersion >= 4 and cxx.minorVersoin >= 6) or self.vendor == 'clang':
self.compiler.AddToListVar('CFLAGS', '-Wno-narrowing')
self.compiler.AddToListVar('CFLAGS', '-Wall')
self.compiler.AddToListVar('CFLAGS', '-Werror')