git: 0f87915f4338 - main - Remove unnecessary -isystem for host

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Thu, 28 Sep 2023 21:20:01 UTC
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>__)