Enable C++ support on "like" gcc builds.
This commit is contained in:
		
							parent
							
								
									4a75be1c92
								
							
						
					
					
						commit
						8b7ce5eed2
					
				| @ -171,6 +171,9 @@ class SMConfig(object): | |||||||
|         '-msse', |         '-msse', | ||||||
|         '-m32', |         '-m32', | ||||||
|       ] |       ] | ||||||
|  |       cxx.cxxflags += [ | ||||||
|  |           '-std=c++11', | ||||||
|  |       ] | ||||||
| 
 | 
 | ||||||
|       have_gcc = cxx.vendor == 'gcc' |       have_gcc = cxx.vendor == 'gcc' | ||||||
|       have_clang = cxx.vendor == 'clang' |       have_clang = cxx.vendor == 'clang' | ||||||
| @ -188,6 +191,8 @@ class SMConfig(object): | |||||||
|         '-fno-threadsafe-statics', |         '-fno-threadsafe-statics', | ||||||
|         '-Wno-non-virtual-dtor', |         '-Wno-non-virtual-dtor', | ||||||
|         '-Wno-overloaded-virtual', |         '-Wno-overloaded-virtual', | ||||||
|  |         '-Wno-implicit-exception-spec-mismatch', | ||||||
|  |         '-Wno-deprecated-register', | ||||||
|       ] |       ] | ||||||
| 
 | 
 | ||||||
|       if have_gcc: |       if have_gcc: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user