Skip to content

Commit

Permalink
Revert "newlib.mk: add optional sanity check for newlib-nano header"
Browse files Browse the repository at this point in the history
This reverts commit 0e14df5.
  • Loading branch information
cladmi committed Jul 25, 2018
1 parent 44a7724 commit fa7082a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions makefiles/libc/assert_newlib_nano_included.h

This file was deleted.

5 changes: 0 additions & 5 deletions makefiles/libc/newlib.mk
Expand Up @@ -113,9 +113,4 @@ ifeq (1,$(USE_NEWLIB_NANO))
# newlib-nano overrides newlib.h and its include dir should therefore go before
# the regular system include dirs.
INCLUDES := $(addprefix -isystem ,$(NEWLIB_NANO_INCLUDE_DIR)) $(INCLUDES)

ifneq (,$(filter 1, $(ASSERT_NEWLIB_NANO_HEADER)))
# Add a check to assert newlib-nano is used
CFLAGS += -include '$(RIOTMAKE)/libc/assert_newlib_nano_included.h'
endif
endif

0 comments on commit fa7082a

Please sign in to comment.