Author: imp
Date: Mon Oct  9 22:12:39 2017
New Revision: 324451
URL: https://svnweb.freebsd.org/changeset/base/324451

Log:
  Add missing -I${SASRC} in a couple of places so that stand.h doesn't
  accidentally come in via host pollution.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/Makefile.ficl
  head/sys/boot/fdt/Makefile

Modified: head/sys/boot/Makefile.ficl
==============================================================================
--- head/sys/boot/Makefile.ficl Mon Oct  9 22:12:32 2017        (r324450)
+++ head/sys/boot/Makefile.ficl Mon Oct  9 22:12:39 2017        (r324451)
@@ -27,7 +27,7 @@ CFLAGS+=      -m32 -mcpu=powerpc -I.
 .endif
 
 CFLAGS+=       -I${FICLDIR} -I${FICLDIR}/${FICL_CPUARCH} \
-               -I${FICLDIR}/../common
+               -I${FICLDIR}/../common -I${SASRC}
 
 .if ${MACHINE_CPUARCH} == "amd64" && defined(FICL32)
 .if !exists(machine)

Modified: head/sys/boot/fdt/Makefile
==============================================================================
--- head/sys/boot/fdt/Makefile  Mon Oct  9 22:12:32 2017        (r324450)
+++ head/sys/boot/fdt/Makefile  Mon Oct  9 22:12:39 2017        (r324451)
@@ -12,6 +12,7 @@ SRCS+=                fdt.c fdt_ro.c fdt_wip.c fdt_sw.c 
fdt_rw.c fdt
 # Loader's fdt commands extension sources.
 SRCS+=         fdt_loader_cmd.c fdt_overlay.c
 
+CFLAGS+=       -I${SASRC}
 CFLAGS+=       -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/
 
 CFLAGS+=       -ffreestanding
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to