kern.mk: clang >= 16 already infers ELFv2 for powerpc64
There is no need to pass -mabi=elfv2 explicitly anymore, and with clang 16 in fact results in a "unused argument" warning. MFC after: 3 days
This commit is contained in:
parent
72ef722b2a
commit
4214005276
@ -215,7 +215,8 @@ CFLAGS.gcc+= -mno-spe
|
||||
# Use dot symbols (or, better, the V2 ELF ABI) on powerpc64 to make
|
||||
# DDB happy. ELFv2, if available, has some other efficiency benefits.
|
||||
#
|
||||
.if ${MACHINE_ARCH:Mpowerpc64*} != ""
|
||||
.if ${MACHINE_ARCH:Mpowerpc64*} != "" && \
|
||||
${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 160000
|
||||
CFLAGS+= -mabi=elfv2
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user