mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
don't use -fPIC on cygwin 64
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
afea50e631
commit
ef32aaaf12
1 changed files with 2 additions and 1 deletions
|
@ -1892,7 +1892,8 @@ def mk_config():
|
|||
else:
|
||||
raise MKException('Unsupported platform: %s' % sysname)
|
||||
if is64():
|
||||
CXXFLAGS = '%s -fPIC' % CXXFLAGS
|
||||
if sysname[:6] != 'CYGWIN':
|
||||
CXXFLAGS = '%s -fPIC' % CXXFLAGS
|
||||
CPPFLAGS = '%s -D_AMD64_' % CPPFLAGS
|
||||
if sysname == 'Linux':
|
||||
CPPFLAGS = '%s -D_USE_THREAD_LOCAL' % CPPFLAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue