Don't forget to create new-style links for module builds.
Forgotten by: imp@ Reminded by: nyan@
This commit is contained in:
parent
dfd569ede5
commit
df3a103dc6
@ -188,6 +188,9 @@ ${FULLPROG}: ${OBJS}
|
||||
.endif
|
||||
|
||||
_ILINKS=@ machine
|
||||
.if ${MACHINE} != ${MACHINE_ARCH}
|
||||
_ILINKS+=${MACHINE_ARCH}
|
||||
.endif
|
||||
|
||||
all: objwarn ${PROG}
|
||||
|
||||
@ -213,8 +216,10 @@ SYSDIR= ${_dir}
|
||||
|
||||
${_ILINKS}:
|
||||
@case ${.TARGET} in \
|
||||
machine) \
|
||||
${MACHINE_ARCH}) \
|
||||
path=${SYSDIR}/${MACHINE_ARCH}/include ;; \
|
||||
machine) \
|
||||
path=${SYSDIR}/${MACHINE}/include ;; \
|
||||
@) \
|
||||
path=${SYSDIR} ;; \
|
||||
esac ; \
|
||||
|
Loading…
Reference in New Issue
Block a user