equal
deleted
inserted
replaced
47 @@ -105,16 +105,19 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc") |
47 @@ -105,16 +105,19 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc") |
48 "-Wno-unreachable-code-return" |
48 "-Wno-unreachable-code-return" |
49 ] |
49 ] |
50 |
50 |
51 if CONFIG["CC_TYPE"] in ("clang", "gcc"): |
51 if CONFIG["CC_TYPE"] in ("clang", "gcc"): |
52 CXXFLAGS += ["-Wno-shadow", "-Wno-error=stack-protector"] |
52 CXXFLAGS += ["-Wno-error=stack-protector"] |
53 SOURCES["../chromium/sandbox/linux/services/syscall_wrappers.cc"].flags += [ |
53 SOURCES["../chromium/sandbox/linux/services/syscall_wrappers.cc"].flags += [ |
54 "-Wno-empty-body", |
54 "-Wno-empty-body", |
55 ] |
55 ] |
56 + SOURCES['../chromium/sandbox/linux/seccomp-bpf/syscall.cc'].flags += [ |
56 + SOURCES['../chromium/sandbox/linux/seccomp-bpf/syscall.cc'].flags += [ |
57 + '-fno-lto' |
57 + '-fno-lto' |