ms_abi is supported with gcc 4.5 or newer, so build it with gcc if it
is 4.5 or newer.
This commit is contained in:
parent
e9a62530aa
commit
c39a40d212
@ -2,8 +2,9 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
# In-tree GCC does not support __attribute__((ms_abi)).
|
||||
.if ${COMPILER_TYPE} != "gcc"
|
||||
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
|
||||
# than 4.5 supports it.
|
||||
.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
|
||||
.if ${MK_FDT} != "no"
|
||||
@ -17,7 +18,6 @@ SUBDIR+= fdt
|
||||
SUBDIR+= libefi loader boot1
|
||||
.endif
|
||||
|
||||
.endif # ${COMPILER_TYPE} != "gcc"
|
||||
.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user