Skip to content

Commit

Permalink
fixup! newlib.mk: add optional sanity check for newlib-nano header
Browse files Browse the repository at this point in the history
Try to fix packages failing (may be compiled with only cflags and not include)
  • Loading branch information
cladmi committed Jul 6, 2018
1 parent 9d36929 commit 454f0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/libc/newlib.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 454f0e7

Please sign in to comment.