Skip to content
Snippets Groups Projects
Commit f1c53794 authored by Toon Stegen's avatar Toon Stegen
Browse files

Revert "newlib-nano: add include directory"

This reverts commit 88aaa623.
parent 1aed925c
Branches
No related tags found
No related merge requests found
......@@ -64,8 +64,7 @@ ifeq ($(TOOLCHAIN),llvm)
endif
ifeq (1,$(USE_NEWLIB_NANO))
# newlib-nano include directory is called either newlib-nano or nano. Use the one we find first.
NEWLIB_NANO_INCLUDE_DIR ?= $(firstword $(wildcard $(addprefix $(NEWLIB_INCLUDE_DIR)/, newlib-nano nano)))
NEWLIB_NANO_INCLUDE_DIR ?= $(NEWLIB_INCLUDE_DIR)/newlib-nano
# newlib-nano overrides newlib.h and its include dir should therefore go before
# the regular system include dirs.
INCLUDES := -isystem $(NEWLIB_NANO_INCLUDE_DIR) $(INCLUDES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment