diff options
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r-- | Makefile.toolchain | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain index fe7bfd7a83..8286be1e7c 100644 --- a/Makefile.toolchain +++ b/Makefile.toolchain @@ -115,6 +115,8 @@ C_WARN = -Wstrict-prototypes -Wdeclaration-after-statement -Wno-pointer-sign COMMON_WARN = -Wall -Wundef -Werror-implicit-function-declaration \ -Wno-trigraphs -Wno-format-security -Wno-address-of-packed-member \ -fno-common -fno-strict-aliasing -fno-strict-overflow +# See https://www.chromium.org/chromium-os/build/c-exception-support +COMMON_WARN+=-fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables ifndef ALLOW_WARNINGS COMMON_WARN+=-Werror |