aarch64: disable LIB32 with gcc
gcc doesn't have -m32 support on aarch64 so mark LIB32 broken there. We have to check both COMPILER_TYPE and X_COMPILER_TYPE becuase X_COMPILER_TYPE is only conditionally set and COMPILER_TYPE is the host compiler in Makefile.inc1. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45089
This commit is contained in:
@@ -303,7 +303,7 @@ __DEFAULT_YES_OPTIONS+=LLDB
|
|||||||
__DEFAULT_NO_OPTIONS+=LLDB
|
__DEFAULT_NO_OPTIONS+=LLDB
|
||||||
.endif
|
.endif
|
||||||
# LIB32 is not supported on all 64-bit architectures.
|
# LIB32 is not supported on all 64-bit architectures.
|
||||||
.if (${__T} == "amd64" || ${__T:Maarch64*} != "" || ${__T} == "powerpc64")
|
.if (${__T:Maarch64*} != "" && ((defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} != "gcc") || (!defined(X_COMPILER_TYPE) && ${COMPILER_TYPE} != "gcc"))) || ${__T} == "amd64" || ${__T} == "powerpc64"
|
||||||
__DEFAULT_YES_OPTIONS+=LIB32
|
__DEFAULT_YES_OPTIONS+=LIB32
|
||||||
.else
|
.else
|
||||||
BROKEN_OPTIONS+=LIB32
|
BROKEN_OPTIONS+=LIB32
|
||||||
|
|||||||
Reference in New Issue
Block a user