mirror of https://github.com/ipxe/ipxe.git
[build] Respect $CC and fix cross compile
This makes the build use gcc as the default CC and also fixes the cross compile.pull/723/head
parent
e29639006e
commit
9f3d2e5909
|
@ -16,6 +16,7 @@ SYMBOL_PREFIX :=
|
|||
#
|
||||
# Locations of tools
|
||||
#
|
||||
CC ?= gcc
|
||||
HOST_CC := $(CC)
|
||||
RM := rm -f
|
||||
TOUCH := touch
|
||||
|
@ -26,7 +27,7 @@ PRINTF := printf
|
|||
PERL := perl
|
||||
PYTHON := python
|
||||
TRUE := true
|
||||
CC := $(CROSS_COMPILE)$(CC)
|
||||
CC := $(CROSS_COMPILE)gcc
|
||||
CPP := $(CC) -E
|
||||
AS := $(CROSS_COMPILE)as
|
||||
LD := $(CROSS_COMPILE)ld
|
||||
|
|
Loading…
Reference in New Issue