mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
Makefile.inc1: Allow showconfig and test-system-* if (X)CC is GCC
This case gets hit in make universe on Linux, since we will first run
make test-system-compiler to determine whether to use the system or
universe toolchain, during which time CC is the host's, GCC, and XCC
isn't set, so defaults to the same.
Fixes: 4c0dfd5959
("arm: fail early on gcc builds")
This commit is contained in:
parent
25a33bfe9c
commit
a20a903b16
|
@ -172,6 +172,7 @@ LIBCOMPAT_INCLUDE_DIRS+= i386
|
|||
LIBCOMPAT_INCLUDE_DIRS+= arm
|
||||
.endif
|
||||
|
||||
.if !defined(_MKSHOWCONFIG)
|
||||
.if ((defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == "gcc") || \
|
||||
(!defined(X_COMPILER_TYPE) && ${COMPILER_TYPE} == "gcc"))
|
||||
.if ${TARGET} == "arm"
|
||||
|
@ -195,6 +196,7 @@ _GCC_BROKEN=boot code linker script issues.
|
|||
.endif
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${.MAKE.OS} != "FreeBSD"
|
||||
CROSSBUILD_HOST=${.MAKE.OS}
|
||||
|
|
Loading…
Reference in a new issue