mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Don't ever build files depending on the directory where they are placed in.
It is obvious that its modification time will change with each such file builded. This bug cause whole libelf to rebuild itself each second make run (and relink that files on each first make run) in the loop.
This commit is contained in:
parent
6d4c4b3fde
commit
7066cac012
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238741
@ -68,11 +68,9 @@ CLEANFILES= ${GENSRCS}
|
||||
CLEANDIRS= sys
|
||||
CFLAGS+= -I${.CURDIR} -I.
|
||||
|
||||
sys/elf32.h sys/elf64.h sys/elf_common.h: sys
|
||||
ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
|
||||
|
||||
sys:
|
||||
sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
|
||||
mkdir -p ${.OBJDIR}/sys
|
||||
ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
|
||||
|
||||
SHLIB_MAJOR= 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user