mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
sys.mk: Define HOST_CC as CC by default.
This allows for setting a different compiler for building hostprogs when cross compiling. Obtained from: Juniper Networks, Inc. Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D44536
This commit is contained in:
parent
970ea0b2cb
commit
3abd36c68f
|
@ -153,6 +153,8 @@ CFLAGS += -fno-strict-aliasing
|
|||
IR_CFLAGS ?= ${STATIC_CFLAGS:N-O*} ${CFLAGS:N-O*}
|
||||
PO_CFLAGS ?= ${CFLAGS}
|
||||
|
||||
HOST_CC ?= ${CC}
|
||||
|
||||
# cp(1) is used to copy source files to ${.OBJDIR}, make sure it can handle
|
||||
# read-only files as non-root by passing -f.
|
||||
CP ?= cp -f
|
||||
|
|
Loading…
Reference in a new issue