removed -stdlib=libc++ flag to clang as required by xcode 15

This commit is contained in:
renaud gaudin 2023-11-07 13:53:19 +00:00
parent a79b08f4c5
commit fbc1ca11f2
No known key found for this signature in database
GPG Key ID: 447475A4CFBA2E24
1 changed files with 0 additions and 3 deletions

View File

@ -44,14 +44,12 @@ class ApplePlatformInfo(PlatformInfo):
'-isysroot', self.root_path,
'-arch', self.arch,
'-target', self.target,
'-stdlib=libc++'
],
'extra_cflags': [
'-fembed-bitcode',
'-isysroot', self.root_path,
'-arch', self.arch,
'-target', self.target,
'-stdlib=libc++',
*('-I{}'.format(include_dir) for include_dir in self.get_include_dirs())
],
'host_machine': {
@ -87,7 +85,6 @@ class ApplePlatformInfo(PlatformInfo):
env['CFLAGS'] = ' '.join(cflags)
env['CXXFLAGS'] = ' '.join([
env['CFLAGS'],
'-stdlib=libc++',
'-std=c++11',
env['CXXFLAGS'],
])