From 4ba769d4a31435f71f39ef3cc66d1221ab11c7f2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 21 Jan 2016 11:55:03 +1100 Subject: [PATCH] mk: native boards get -Wundef --- mk/board_native.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mk/board_native.mk b/mk/board_native.mk index 944a9586a5..2c3c118425 100644 --- a/mk/board_native.mk +++ b/mk/board_native.mk @@ -19,7 +19,9 @@ WARNFLAGSCXX = \ -Werror=unused-but-set-variable \ -Werror=uninitialized \ -Werror=init-self \ - -Wfatal-errors + -Wfatal-errors \ + -Wundef + DEPFLAGS = -MD -MP -MT $@ CXXOPTS = -ffunction-sections -fdata-sections -fno-exceptions -fsigned-char