1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

sys/newlib: Place newlib includes first of the system includes

This commit is contained in:
Joakim Nohlgård 2016-01-21 08:28:39 +01:00
parent 44fee9fc12
commit 37ad45d3e9

View File

@ -36,4 +36,5 @@ ifeq (,$(NEWLIB_INCLUDES))
NEWLIB_INCLUDES := $(addprefix -isystem ,$(wildcard $(dir $(shell which $(PREFIX)gcc))../$(TARGET_TRIPLE)/include))
endif
export INCLUDES += $(NEWLIB_INCLUDES)
# Newlib includes should go before GCC includes.
export INCLUDES := $(NEWLIB_INCLUDES) $(INCLUDES)