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 Oct 17, 2018
1 parent aa87607 commit 87aba27
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
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,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
INCLUDES += -include '$(RIOTMAKE)/libc/assert_newlib_nano_included.h'
endif
endif

0 comments on commit 87aba27

Please sign in to comment.