summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/Makefile.inc
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/libc/gen/Makefile.inc
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/libc/gen/Makefile.inc')
-rw-r--r--lib/libc/gen/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 2232b79..b448461 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -159,8 +159,8 @@ CANCELPOINTS_SRCS=sem.c sem_new.c
.for src in ${CANCELPOINTS_SRCS}
SRCS+=cancelpoints_${src}
CLEANFILES+=cancelpoints_${src}
-cancelpoints_${src}:
- ln -sf ${LIBC_SRCTOP}/gen/${src} ${.TARGET}
+cancelpoints_${src}: ${LIBC_SRCTOP}/gen/${src} .NOMETA
+ ln -sf ${.ALLSRC} ${.TARGET}
.endfor
SYM_MAPS+=${LIBC_SRCTOP}/gen/Symbol.map
OpenPOWER on IntegriCloud