mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
Use -isystem instead of -I to introduce header files of target system
If using -I to introduce header files, the elf.h in the target system instead of elf.h shipped with kexec-tools will be included, making its building process failed.
This commit is contained in:
parent
07cc2b64f5
commit
209c9778ad
2
Makefile
2
Makefile
@ -111,7 +111,7 @@ heads_cc := $(CROSS)gcc \
|
|||||||
-fdebug-prefix-map=$(pwd)=heads \
|
-fdebug-prefix-map=$(pwd)=heads \
|
||||||
-gno-record-gcc-switches \
|
-gno-record-gcc-switches \
|
||||||
-D__MUSL__ \
|
-D__MUSL__ \
|
||||||
-I$(INSTALL)/include \
|
-isystem $(INSTALL)/include \
|
||||||
-L$(INSTALL)/lib \
|
-L$(INSTALL)/lib \
|
||||||
|
|
||||||
CROSS_TOOLS_NOCC := \
|
CROSS_TOOLS_NOCC := \
|
||||||
|
Loading…
Reference in New Issue
Block a user