mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +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
|
@ -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…
Reference in a new issue