summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-15 17:32:57 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-12-15 17:32:57 +0100
commitbff3a664e6a2a367bf159c3089df1fe6f093bfb1 (patch)
tree70caa2c232125143367912b8279ec1b598406f75 /test/Rules.mak
parentf8e05f3850e51673522216f23533bf7146359dcd (diff)
test: Some more tests under conditionals
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index ed72db246..805a3498d 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -78,6 +78,9 @@ CFLAGS := -nostdinc -I$(top_builddir)$(LOCAL_INSTALL_PATH)/usr/include
CFLAGS += $(XCOMMON_CFLAGS) $(KERNEL_INCLUDES) $(CC_INC)
CFLAGS += $(OPTIMIZATION) $(CPU_CFLAGS) $(XWARNINGS)
+$(eval $(call check-gcc-var,-Wno-missing-field-initializers))
+CFLAGS += $(CFLAG_-Wno-missing-field-initializers)
+
# Can't add $(OPTIMIZATION) here, it may be target-specific.
# Just adding -Os for now.
HOST_CFLAGS += $(XCOMMON_CFLAGS) -Os $(XWARNINGS) -std=gnu99