diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-11 06:58:24 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-11 06:58:24 +0000 |
commit | 2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f (patch) | |
tree | 9e9b73b7bc6c857e9178a95f614a9e1f0d82fb77 | |
parent | 41ea5ba4125fe59768be3f47254885f6a854b808 (diff) | |
download | FreeBSD-src-2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f.zip FreeBSD-src-2b3dd72c57ac7e9bc292bf000cc33d73728b4b0f.tar.gz |
MFC r312501:
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
-rw-r--r-- | lib/libcom_err/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcom_err/Makefile b/lib/libcom_err/Makefile index 78014ad..c19b2a8 100644 --- a/lib/libcom_err/Makefile +++ b/lib/libcom_err/Makefile @@ -4,7 +4,7 @@ LIB= com_err SRCS= com_err.c error.c INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h MAN= com_err.3 -COM_ERRDIR= ${.CURDIR}/../../contrib/com_err +COM_ERRDIR= ${SRCTOP}/contrib/com_err CFLAGS+= -I${COM_ERRDIR} LDFLAGS= -Wl,--no-undefined |