void-packages/srcpkgs/mozc/patches/cxx-stdlib.patch

28 lines
750 B
Diff

--- a/mozc/src/gyp/common.gypi
+++ b/mozc/src/gyp/common.gypi
@@ -105,7 +105,7 @@
],
# Libraries for GNU/Linux environment.
'linux_ldflags': [
- '-lc++',
+ '-lstdc++',
'-pthread',
],
@@ -205,7 +205,6 @@
'-Wtype-limits',
],
'cflags_cc': [
- '-stdlib=libc++',
'-Wno-covered-switch-default',
'-Wno-unnamed-type-template-args',
'-Wno-c++11-narrowing',
@@ -225,7 +224,6 @@
'-Wtype-limits',
],
'cflags_cc': [
- '-stdlib=libc++',
'-Wno-covered-switch-default',
'-Wno-unnamed-type-template-args',
'-Wno-c++11-narrowing',