git: 4410e857965e - main - stand/uboot: Remove -fPIC here
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Jan 2023 15:07:32 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=4410e857965edef0e3be42ae323356ec08d2aaad
commit 4410e857965edef0e3be42ae323356ec08d2aaad
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-01-25 15:03:08 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-25 15:04:59 +0000
stand/uboot: Remove -fPIC here
When needed, -fPIC is added in defs.mk. While not in main, mips on
stable/13 can't tolerate it. Remove it here.
MFC After: now (it's a build issue)
Sponsored by: Netflix
---
stand/uboot/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/stand/uboot/Makefile b/stand/uboot/Makefile
index 052c9615bfc2..ed2253cdae6f 100644
--- a/stand/uboot/Makefile
+++ b/stand/uboot/Makefile
@@ -62,8 +62,6 @@ SRCS+= metadata.c
.include "${BOOTSRC}/fdt.mk"
-CFLAGS+= -fPIC
-
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${LDRSRC}