diff options
Diffstat (limited to 'lib/csu/riscv')
-rw-r--r-- | lib/csu/riscv/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/riscv/Makefile b/lib/csu/riscv/Makefile index 9747619..cd04b54 100644 --- a/lib/csu/riscv/Makefile +++ b/lib/csu/riscv/Makefile @@ -1,12 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../common +.PATH: ${.CURDIR:H}/common SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= Scrt1.o gcrt1.o -CFLAGS+= -I${.CURDIR}/../common \ - -I${.CURDIR}/../../libc/include +CFLAGS+= -I${.CURDIR:H}/common \ + -I${SRCTOP}/lib/libc/include FILES= ${OBJS} FILESMODE= ${LIBMODE} |