chromium-browser-stable-test/chromium-69.0.3497.100-build-error-in-clang6.patch
2018-11-11 01:39:53 +03:00

17 lines
765 B
Diff

--- chromium-69.0.3497.100/build/config/compiler/BUILD.gn.orig
+++ chromium-69.0.3497.100/build/config/compiler/BUILD.gn
@@ -666,10 +666,10 @@
# This flag enforces that member pointer base types are complete. It helps
# prevent us from running into problems in the Microsoft C++ ABI (see
# https://crbug.com/847724).
- if (is_clang && !is_nacl && target_os != "chromeos" && !use_xcode_clang &&
- (is_win || use_custom_libcxx)) {
- cflags += [ "-fcomplete-member-pointers" ]
- }
+ #if (is_clang && !is_nacl && target_os != "chromeos" && !use_xcode_clang &&
+ # (is_win || use_custom_libcxx)) {
+ # cflags += [ "-fcomplete-member-pointers" ]
+ #}
# Pass the same C/C++ flags to the objective C/C++ compiler.
cflags_objc += cflags_c