diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-10 07:32:40 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-10 07:32:40 +0000 |
commit | 0d4e3d76af6dae0df115d1e23238a6e9d6438561 (patch) | |
tree | 9a6d85969899c244a5fef4613119d1503130328a /lib/libcom_err | |
parent | ad0c9114e00a9a30168e0c13c17d8f65571aa67f (diff) | |
download | FreeBSD-src-0d4e3d76af6dae0df115d1e23238a6e9d6438561.zip FreeBSD-src-0d4e3d76af6dae0df115d1e23238a6e9d6438561.tar.gz |
MFC r312452-r312512:
r312452-r312512:
- Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
- Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
Diffstat (limited to 'lib/libcom_err')
-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 b6f389f..ca65c09 100644 --- a/lib/libcom_err/Makefile +++ b/lib/libcom_err/Makefile @@ -5,7 +5,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 |