Skip to content

Commit

Permalink
build: Change -isystem= to -isystem
Browse files Browse the repository at this point in the history
This is better for ide parsing

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 4, 2024
1 parent 7652f51 commit 77c2615
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Build/toolchain/nuclei_gnu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ LDLIBS += -lc -lgcc
else ifeq ($(STDCLIB),newlib_fast)
LDLIBS += -lc_nano -lgcc
STDCLIB_LDFLAGS += -u _printf_float -u _scanf_float
COMMON_FLAGS += -isystem=/include/newlib-nano
COMMON_FLAGS += -isystem /include/newlib-nano
else ifeq ($(STDCLIB),newlib_small)
LDLIBS += -lc_nano -lgcc
STDCLIB_LDFLAGS += -u _printf_float
COMMON_FLAGS += -isystem=/include/newlib-nano
COMMON_FLAGS += -isystem /include/newlib-nano
else ifeq ($(STDCLIB),newlib_nano)
LDLIBS += -lc_nano -lgcc
COMMON_FLAGS += -isystem=/include/newlib-nano
COMMON_FLAGS += -isystem /include/newlib-nano
else
LDLIBS += -lc_nano -lgcc
COMMON_FLAGS += -isystem=/include/newlib-nano
COMMON_FLAGS += -isystem /include/newlib-nano
endif
###
else ifneq ($(findstring libncrt,$(STDCLIB)),)
Expand All @@ -63,7 +63,7 @@ ifeq ($(COMPILE_PREFIX),riscv64-unknown-elf-)
LDLIBS += -lheapops_$(NCRTHEAP)
endif
endif
COMMON_FLAGS += -isystem=/include/libncrt
COMMON_FLAGS += -isystem /include/libncrt
###
else ifeq ($(STDCLIB),nostd)
### Handle cases when no standard system directories for header files
Expand Down

0 comments on commit 77c2615

Please sign in to comment.