mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 19:22:28 +00:00 
			
		
		
		
	fixing clang warnings on OSX
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									7f210d55be
								
							
						
					
					
						commit
						8bfbdf1e68
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1312,14 +1312,14 @@ def mk_config(): | |||
|             CXXFLAGS     = '%s -g -Wall' % CXXFLAGS | ||||
|         else: | ||||
|             CXXFLAGS     = '%s -O3 -D _EXTERNAL_RELEASE -fomit-frame-pointer' % CXXFLAGS | ||||
|         if is_CXX_clangpp(): | ||||
|             CXXFLAGS   = '%s -Wno-unknown-pragmas -Wno-overloaded-virtual -Wno-unused-value' % CXXFLAGS | ||||
|         sysname = os.uname()[0] | ||||
|         if sysname == 'Darwin': | ||||
|             SO_EXT    = '.dylib' | ||||
|             SLIBFLAGS = '-dynamiclib' | ||||
|         elif sysname == 'Linux': | ||||
|             CXXFLAGS       = '%s -fno-strict-aliasing -D_LINUX_' % CXXFLAGS | ||||
|             if is_CXX_clangpp(): | ||||
|                 CXXFLAGS   = '%s -Wno-unknown-pragmas -Wno-overloaded-virtual -Wno-unused-value' % CXXFLAGS | ||||
|             SO_EXT         = '.so' | ||||
|             LDFLAGS        = '%s -lrt' % LDFLAGS | ||||
|             SLIBFLAGS      = '-shared' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue