The branch main has been updated by arichardson:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2d78130185b5518e0bdb4a2f3c5d5ede6773312d

commit 2d78130185b5518e0bdb4a2f3c5d5ede6773312d
Author:     Alex Richardson <arichard...@freebsd.org>
AuthorDate: 2021-09-13 12:22:07 +0000
Commit:     Alex Richardson <arichard...@freebsd.org>
CommitDate: 2021-09-13 12:22:31 +0000

    Add missing dep patterns for .pieo
    
    While adding sanitizer support, I noticed that all other extensions were
    handled but .pieo was missing.
    
    Reviewed By:    emaste, imp
    MFC after:      1 week
    
    Differential Revision: https://reviews.freebsd.org/D31040
---
 share/mk/bsd.dep.mk       | 5 ++++-
 share/mk/local.autodep.mk | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index b8dc59d52543..d1bbdd722c1b 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -170,10 +170,13 @@ ${_D}.o: ${_DSRC} ${OBJS:S/^${_D}.o$//}
        @rm -f ${.TARGET}
        ${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 .if defined(LIB)
-CLEANFILES+= ${_D}.pico ${_D}.po ${_D}.nossppico
+CLEANFILES+= ${_D}.pico ${_D}.pieo ${_D}.po ${_D}.nossppico
 ${_D}.pico: ${_DSRC} ${SOBJS:S/^${_D}.pico$//}
        @rm -f ${.TARGET}
        ${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
+${_D}.pieo: ${_DSRC} ${OBJS:S/^${_D}.pieo$//}
+       @rm -f ${.TARGET}
+       ${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 ${_D}.po: ${_DSRC} ${POBJS:S/^${_D}.po$//}
        @rm -f ${.TARGET}
        ${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index ee73b23aadcf..0e14d844fcff 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -9,7 +9,8 @@ UPDATE_DEPENDFILE= no
 .endif
 
 NOSSPPICO?= .nossppico
-OBJ_EXTENSIONS+= ${NOSSPPICO}
+PIEO?= .pieo
+OBJ_EXTENSIONS+= ${NOSSPPICO} ${PIEO}
 
 CFLAGS+= ${CFLAGS_LAST}
 CXXFLAGS+= ${CXXFLAGS_LAST}
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to