diff options
Diffstat (limited to 'test/Rules.mak')
-rw-r--r-- | test/Rules.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index 2131a7b18..4b4345eae 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -57,7 +57,8 @@ endif endif XCOMMON_CFLAGS := -I$(top_builddir)test -D_GNU_SOURCE -XWARNINGS += $(call check_gcc,-Wstrict-prototypes,) +CFLAG_-Wstrict-prototypes ?= $(call check_gcc,-Wstrict-prototypes,) +XWARNINGS += $(CFLAG_-Wstrict-prototypes) CFLAGS := -nostdinc -I$(top_builddir)$(LOCAL_INSTALL_PATH)/usr/include CFLAGS += $(XCOMMON_CFLAGS) $(KERNEL_INCLUDES) $(CC_INC) CFLAGS += $(OPTIMIZATION) $(CPU_CFLAGS) $(XWARNINGS) |