summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:43 +0000
commit52255645fb90fea4463237052ca49411638d381a (patch)
treee3f49e2ae9774752cf0d572a4d4dd49a8bf8f14c /lib/libelf
parentb93094a6f0d2c9cf9f249b0cfa7df61a46c1da00 (diff)
downloadFreeBSD-src-52255645fb90fea4463237052ca49411638d381a.zip
FreeBSD-src-52255645fb90fea4463237052ca49411638d381a.tar.gz
META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index c400204..91dbea6f1 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -78,9 +78,9 @@ CLEANFILES= ${GENSRCS}
CLEANDIRS= sys
CFLAGS+= -I. -I${SRCDIR} -I${TOP}/common
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
mkdir -p ${.OBJDIR}/sys
- ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
+ ln -sf ${.ALLSRC} ${.TARGET}
SHLIB_MAJOR= 2
OpenPOWER on IntegriCloud