mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-25 00:34:49 +00:00
27f015561a
This will allow us to use C++14 library on all platforms. Patches for macold versions got bigger and are now different for crashpad and mini_chromium, so they were moved to a separate folder.
21 lines
588 B
Diff
21 lines
588 B
Diff
diff --git a/build/crashpad.gypi b/build/crashpad.gypi
|
|
index 027c7b6..4bfdfb5 100644
|
|
--- a/build/crashpad.gypi
|
|
+++ b/build/crashpad.gypi
|
|
@@ -25,5 +25,15 @@
|
|
4201, # nonstandard extension used : nameless struct/union.
|
|
4324, # structure was padded due to __declspec(align()).
|
|
],
|
|
+ 'xcode_settings': {
|
|
+ 'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
|
|
+ 'OTHER_LDFLAGS': [
|
|
+ '/usr/local/macold/lib/libc++.a',
|
|
+ '/usr/local/macold/lib/libc++abi.a',
|
|
+ ],
|
|
+ },
|
|
+ 'include_dirs': [
|
|
+ '/usr/local/macold/include/c++/v1',
|
|
+ ],
|
|
},
|
|
}
|