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

pr/gpio
Joakim Nohlgård 7 years ago
parent 44fee9fc12
commit 37ad45d3e9

@ -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)

Loading…
Cancel
Save