mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	move build-env setting to correct place
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									197951cad4
								
							
						
					
					
						commit
						f39198d9a8
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -37,13 +37,14 @@ if RELEASE_DIR is None: | |||
|         BUILD_PLATFORM = "emscripten" | ||||
|         BUILD_ARCH = "wasm32" | ||||
|         BUILD_OS_VERSION = os.environ['_PYTHON_HOST_PLATFORM'].split('_')[1:-1] | ||||
|         build_env['CFLAGS'] = build_env.get('CFLAGS', '') + " -fexceptions -pthread" | ||||
|         build_env['CXXFLAGS'] = build_env.get('CXXFLAGS', '') + " -fexceptions -pthread" | ||||
|         build_env['LDFLAGS'] = build_env.get('LDFLAGS', '') + " -fexceptions -pthread" | ||||
| 
 | ||||
|     else: | ||||
|         BUILD_PLATFORM = sys.platform | ||||
|         BUILD_ARCH = os.environ.get("Z3_CROSS_COMPILING", platform.machine()) | ||||
|         BUILD_OS_VERSION = platform.mac_ver()[0].split(".")[:2] | ||||
|         build_env['CFLAGS'] = build_env.get('CFLAGS', '') + " -fexceptions -pthread" | ||||
|         build_env['CXXFLAGS'] = build_env.get('CXXFLAGS', '') + " -fexceptions -pthread" | ||||
|         build_env['LDFLAGS'] = build_env.get('LDFLAGS', '') + " -fexceptions -pthread" | ||||
| else: | ||||
|     if not os.path.isdir(RELEASE_DIR): | ||||
|         raise Exception("RELEASE_DIR (%s) is not a directory!" % RELEASE_DIR) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue