diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-19 14:44:35 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-19 21:35:10 -0400 |
commit | 1cfa41920edc985285f017f03445b6723d980645 (patch) | |
tree | 8916723b32764009332558bf53dfd36f7f65cb02 | |
parent | b809a82fd9afc733004b56fab78fcc45a2fee064 (diff) |
Disable warning on linux.
-rw-r--r-- | build_extra/rust/BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 93c370c41..c1649e632 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -755,6 +755,9 @@ component("ring_primitives") { "$ring_root/pregenerated/x86_64-mont-elf.S", "$ring_root/pregenerated/x86_64-mont5-elf.S", ] + + # Disable warning: '_GNU_SOURCE' macro redefined + cflags = [ "-Wno-macro-redefined" ] } if (is_win) { libs = [ |