From 0f87915f4338cbe2bb73999a85fb8b91a7936ac7 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Thu, 28 Sep 2023 14:19:11 -0700 Subject: [PATCH] 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 580f9c9c8e0..e35d615d0e1 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(____)