<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>Ping. I'd like to get some kind of commentary on this if only just an "ok" since I wouldn't feel comfortable committing it without some kind of acknowledgement. It now takes care of both existing build descriptions (makefile and pkgconfig). I also have a reversion of the libbsd workaround ready to go in once this is ok'd. This issue was just hit again on rtems-lwip.</div><div><br></div><div>Kinsey<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 25, 2022 at 2:03 PM Kinsey Moore <<a href="mailto:kinsey.moore@oarcorp.com">kinsey.moore@oarcorp.com</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">This allows any builds targeting an installed RTEMS BSP to override<br>
headers in the installed BSP reliably, including headers previously<br>
installed by that or other builds. This includes applications, network<br>
stacks, libraries, and any other builds.<br>
---<br>
 spec/build/bsps/makecustom.yml | 2 +-<br>
 spec/build/bsps/pkgconfig.yml  | 2 +-<br>
 2 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/spec/build/bsps/makecustom.yml b/spec/build/bsps/makecustom.yml<br>
index 139629b597..9f5f2f2e59 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>
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml<br>
index a9462fcc95..8a3c3677a4 100644<br>
--- a/spec/build/bsps/pkgconfig.yml<br>
+++ b/spec/build/bsps/pkgconfig.yml<br>
@@ -22,7 +22,7 @@ content: |<br>
   Name: ${ARCH}-rtems${__RTEMS_MAJOR__}-${BSP_NAME}<br>
   Version: ${RTEMS_VERSION}<br>
   Description: RTEMS BSP ${ARCH}/${BSP_NAME}<br>
-  Cflags: $${ABI_FLAGS} -I$${includedir}<br>
+  Cflags: $${ABI_FLAGS} -isystem$${includedir}<br>
   Ldflags: -B$${libdir} ${PKGCONFIG_LDFLAGS}<br>
   Libs: -B$${libdir} ${PKGCONFIG_LDFLAGS}<br>
 copyrights:<br>
-- <br>
2.30.2<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>