mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'clang-bitfields' into 'master'
explicit -mno-ms-bitfields for clang See merge request KartKrew/RingRacers!94
This commit is contained in:
		
						commit
						e6eaaebd89
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -408,7 +408,7 @@ endif() | |||
| 
 | ||||
| # Compatibility flag with later versions of GCC | ||||
| # We should really fix our code to not need this | ||||
| if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") | ||||
| if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | ||||
| 	check_cxx_compiler_flag("-mno-ms-bitfields" HAS_NO_MS_BITFIELDS) | ||||
| 	if(HAS_NO_MS_BITFIELDS) | ||||
| 		target_compile_options(SRB2SDL2 PRIVATE -mno-ms-bitfields) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon