summaryrefslogtreecommitdiffstats
path: root/lib/libc++/Makefile
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++/Makefile
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++/Makefile')
-rw-r--r--lib/libc++/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile
index baa6faf..d9b0360 100644
--- a/lib/libc++/Makefile
+++ b/lib/libc++/Makefile
@@ -52,8 +52,8 @@ CXXRT_SRCS+= libelftc_dem_gnu3.c\
.for _S in ${CXXRT_SRCS}
STATICOBJS+= cxxrt_${_S:R}.o
-cxxrt_${_S}:
- ln -sf ${LIBCXXRTDIR}/${_S} ${.TARGET}
+cxxrt_${_S}: ${LIBCXXRTDIR}/${_S} .NOMETA
+ ln -sf ${.ALLSRC} ${.TARGET}
.endfor
WARNS= 0
OpenPOWER on IntegriCloud