wscript: fix Apple-specific flag being added on non-Apple platforms
Although GCC and Clang completely ignore this flag on non-Apple platforms, some "GCC-compatible" compilers may not, like EDG frontend based compilers.
This commit is contained in:
parent
77fe1c6d32
commit
f26257d6e4
1
wscript
1
wscript
@ -1387,6 +1387,7 @@ int main () { return 0; }
|
|||||||
|
|
||||||
set_compiler_flags (conf, Options.options)
|
set_compiler_flags (conf, Options.options)
|
||||||
|
|
||||||
|
if sys.platform == 'darwin':
|
||||||
if conf.env['build_host'] not in [ 'mojave', 'catalina', 'bigsur']:
|
if conf.env['build_host'] not in [ 'mojave', 'catalina', 'bigsur']:
|
||||||
conf.env.append_value('CXXFLAGS_OSX', '-F/System/Library/Frameworks')
|
conf.env.append_value('CXXFLAGS_OSX', '-F/System/Library/Frameworks')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user