12 lines
548 B
Diff
12 lines
548 B
Diff
--- build/config/compiler/BUILD.gn 2016-08-14 09:59:05.527738286 +0200
|
|
+++ build/config/compiler/BUILD.gn 2016-08-14 09:59:56.340463935 +0200
|
|
@@ -389,6 +389,7 @@
|
|
# TODO(thakis): Eventually switch this to c++11 instead,
|
|
# http://crbug.com/427584
|
|
cflags_cc += [ "-std=gnu++11" ]
|
|
+ cflags_cc += [ "-fno-delete-null-pointer-checks" ]
|
|
} else if (!is_win && !is_nacl) {
|
|
# TODO(mcgrathr) - the NaCl GCC toolchain doesn't support either gnu++11
|
|
# or c++11; we technically don't need this toolchain any more, but there
|
|
|