Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of
unnecessarily long relative path .PATH values with make MFC after: 1 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
1897a4f168
commit
a0888761e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312332
@ -5,7 +5,7 @@
|
||||
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's
|
||||
# for my use in some special contexts).
|
||||
|
||||
PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include
|
||||
PATHS= ${.CURDIR:H} ${.CURDIR:H:H}/locale ${SRCTOP}/include
|
||||
.PATH: ${PATHS}
|
||||
|
||||
CFLAGS+= -static -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user