<div dir="ltr"><div>This change is fine, but it also needs the packageconfig change to match. The thread from October has the full patch (title was "<span style="font-weight:normal"><font size="2">[PATCH v2] spec/pkgconfig: Allow builds to override headers"). This also needs a change to libbsd to account for this alteration, IIRC.</font></span></div><div><span style="font-weight:normal"><font size="2"><br></font></span></div><div><span style="font-weight:normal"><font size="2">Kinsey<br></font></span></div><div><span style="font-weight:normal"></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 12, 2023 at 5:20 PM <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>><br>
<br>
- Export the BSP include path as a system include path so the order<br>
  of options on an application compiler command line does not matter.<br>
<br>
Closes #4896<br>
---<br>
 spec/build/bsps/makecustom.yml | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/spec/build/bsps/makecustom.yml b/spec/build/bsps/makecustom.yml<br>
index 139629b597..c00240595e 100644<br>
--- a/spec/build/bsps/makecustom.yml<br>
+++ b/spec/build/bsps/makecustom.yml<br>
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
 build-type: config-file<br>
 content: |<br>
   include $$(RTEMS_ROOT)/make/custom/default.cfg<br>
-  CPU_DEFINES = -I$$(exec_prefix)/$$(RTEMS_BSP)/lib/include<br>
+  CPU_DEFINES = -isystem $$(exec_prefix)/$$(RTEMS_BSP)/lib/include<br>
   CPU_CFLAGS = ${ABI_FLAGS}<br>
   CFLAGS_OPTIMIZE_V = ${OPTIMIZATION_FLAGS}<br>
   LDFLAGS = -B$$(exec_prefix)/$$(RTEMS_BSP)/lib ${PKGCONFIG_LDFLAGS}<br>
-- <br>
2.37.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>