git: 64a67b72660d - main - meta: remove LDFLAGS setting when cross building
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Apr 2023 01:40:41 UTC
The branch main has been updated by stevek: URL: https://cgit.FreeBSD.org/src/commit/?id=64a67b72660d6f6b38e10ec66f2ce7474824b109 commit 64a67b72660d6f6b38e10ec66f2ce7474824b109 Author: Stephen J. Kiernan <stevek@FreeBSD.org> AuthorDate: 2023-04-17 23:36:02 +0000 Commit: Stephen J. Kiernan <stevek@FreeBSD.org> CommitDate: 2023-04-20 01:40:29 +0000 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 --- share/mk/local.meta.sys.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk index decbb087870d..6b5ff5e97555 100644 --- a/share/mk/local.meta.sys.mk +++ b/share/mk/local.meta.sys.mk @@ -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