compat: Allow explicit overriding of COMPAT_ARCH and COMPAT_CPUTYPE
Summary: Allow src.conf to override the inferred COMPAT_ARCH and COMPAT_CPUTYPE variables, such that a different CPU target can be specified explicitly for the general target vs the compat target. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D23992
This commit is contained in:
parent
3fba886874
commit
dc0a7e1390
@ -4,8 +4,8 @@
|
||||
__<${_this:T}>__:
|
||||
|
||||
.if defined(_LIBCOMPAT)
|
||||
COMPAT_ARCH= ${TARGET_ARCH}
|
||||
COMPAT_CPUTYPE= ${TARGET_CPUTYPE}
|
||||
COMPAT_ARCH?= ${TARGET_ARCH}
|
||||
COMPAT_CPUTYPE?= ${CPUTYPE_${_LIBCOMPAT}}
|
||||
.if (defined(WANT_COMPILER_TYPE) && ${WANT_COMPILER_TYPE} == gcc) || \
|
||||
(defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc)
|
||||
COMPAT_COMPILER_TYPE= gcc
|
||||
|
Loading…
x
Reference in New Issue
Block a user