Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2023 15:07:32 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4410e857965e - main - stand/uboot: Remove -fPIC here
Message-ID:  <202301251507.30PF7WBe044593@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301251507.30PF7WBe044593>