removed -stdlib=libc++ flag to clang as required by xcode 15
This commit is contained in:
parent
a79b08f4c5
commit
fbc1ca11f2
|
@ -44,14 +44,12 @@ class ApplePlatformInfo(PlatformInfo):
|
||||||
'-isysroot', self.root_path,
|
'-isysroot', self.root_path,
|
||||||
'-arch', self.arch,
|
'-arch', self.arch,
|
||||||
'-target', self.target,
|
'-target', self.target,
|
||||||
'-stdlib=libc++'
|
|
||||||
],
|
],
|
||||||
'extra_cflags': [
|
'extra_cflags': [
|
||||||
'-fembed-bitcode',
|
'-fembed-bitcode',
|
||||||
'-isysroot', self.root_path,
|
'-isysroot', self.root_path,
|
||||||
'-arch', self.arch,
|
'-arch', self.arch,
|
||||||
'-target', self.target,
|
'-target', self.target,
|
||||||
'-stdlib=libc++',
|
|
||||||
*('-I{}'.format(include_dir) for include_dir in self.get_include_dirs())
|
*('-I{}'.format(include_dir) for include_dir in self.get_include_dirs())
|
||||||
],
|
],
|
||||||
'host_machine': {
|
'host_machine': {
|
||||||
|
@ -87,7 +85,6 @@ class ApplePlatformInfo(PlatformInfo):
|
||||||
env['CFLAGS'] = ' '.join(cflags)
|
env['CFLAGS'] = ' '.join(cflags)
|
||||||
env['CXXFLAGS'] = ' '.join([
|
env['CXXFLAGS'] = ' '.join([
|
||||||
env['CFLAGS'],
|
env['CFLAGS'],
|
||||||
'-stdlib=libc++',
|
|
||||||
'-std=c++11',
|
'-std=c++11',
|
||||||
env['CXXFLAGS'],
|
env['CXXFLAGS'],
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue