meta: remove LDFLAGS setting when cross building

The setting was left over from older clang version and is not
necessary any more (and also causes link issues.)

Reviewed by:	sjg
This commit is contained in:
Stephen J. Kiernan 2023-04-17 19:36:02 -04:00
parent 43c6b7a60a
commit 64a67b7266

View File

@ -254,7 +254,6 @@ FREEBSD_REVISION!= sed -n '/^REVISION=/{s,.*=,,;s,",,g;p; }' ${SRCTOP}/sys/conf/
CROSS_TARGET_FLAGS= -target ${MACHINE_ARCH}-unknown-freebsd${FREEBSD_REVISION}
CFLAGS+= ${CROSS_TARGET_FLAGS}
ACFLAGS+= ${CROSS_TARGET_FLAGS}
LDFLAGS+= -Wl,-m -Wl,elf_${MACHINE_ARCH}_fbsd
.endif
META_MODE+= missing-meta=yes