From 454f0e7557129c883104b6b41fe9bf1179b6c3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Fri, 6 Jul 2018 20:10:17 +0200 Subject: [PATCH] fixup! newlib.mk: add optional sanity check for newlib-nano header Try to fix packages failing (may be compiled with only cflags and not include) --- makefiles/libc/newlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/libc/newlib.mk b/makefiles/libc/newlib.mk index 41346ffff62e..6a83069a9019 100644 --- a/makefiles/libc/newlib.mk +++ b/makefiles/libc/newlib.mk @@ -97,6 +97,6 @@ ifeq (1,$(USE_NEWLIB_NANO)) ifneq (,$(filter 1, $(ASSERT_NEWLIB_NANO_HEADER) $(RIOT_CI_BUILD))) # Add a check to assert newlib-nano is used - CFLAGS += -include '$(RIOTMAKE)/libc/assert_newlib_nano_included.h' + INCLUDES += -include '$(RIOTMAKE)/libc/assert_newlib_nano_included.h' endif endif