Fix Linux build (r=dvander).
This commit is contained in:
		
							parent
							
								
									e1f91a768c
								
							
						
					
					
						commit
						5e3419836c
					
				| @ -142,7 +142,6 @@ class SMConfig(object): | ||||
|         '-Werror', | ||||
|         '-Wno-uninitialized', | ||||
|         '-Wno-unused', | ||||
|         '-Wno-logical-op-parentheses', | ||||
|         '-Wno-switch', | ||||
|         '-msse', | ||||
|         '-m32', | ||||
| @ -158,6 +157,11 @@ class SMConfig(object): | ||||
|         if (have_gcc and cxx.minorVersion >= 7) or (have_clang and cxx.majorVersion >= 3): | ||||
|           cfg.cxxflags += ['-Wno-delete-non-virtual-dtor'] | ||||
| 
 | ||||
|       if have_gcc: | ||||
|         cfg.cflags += ['-Wno-parentheses'] | ||||
|       elif have_clang: | ||||
|         cfg.cflags += ['-Wno-logical-op-parentheses'] | ||||
| 
 | ||||
|       cfg.linkflags += ['-m32'] | ||||
|       cfg.cxxflags += [ | ||||
|         '-fno-exceptions', | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user