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:
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…
Reference in New Issue
Block a user