Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 21:20:01 GMT
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0f87915f4338 - main - Remove unnecessary -isystem for host
Message-ID:  <202309282120.38SLK1bw059139@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=0f87915f4338cbe2bb73999a85fb8b91a7936ac7

commit 0f87915f4338cbe2bb73999a85fb8b91a7936ac7
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-09-28 21:19:11 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-09-28 21:19:25 +0000

    Remove unnecessary -isystem for host
    
    Turns out we do not need -isystem/usr/include and
    it can interfere with newer toolchains.
    
    Reviewed by:    stevek
---
 share/mk/src.init.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/share/mk/src.init.mk b/share/mk/src.init.mk
index 580f9c9c8e09..e35d615d0e1a 100644
--- a/share/mk/src.init.mk
+++ b/share/mk/src.init.mk
@@ -32,10 +32,6 @@ LIBADD+= egacy
 .endif
 .endif
 
-.if ${MK_STAGING} == "yes"
-ISYSTEM=	/usr/include
-CFLAGS+=	-I${STAGE_INCLUDEDIR}
-.endif
 .endif
 
 .endif	# !target(__<src.init.mk>__)



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