libcompiler_rt: use ${SRCTOP} for the top of the FreeBSD tree
This commit is contained in:
parent
93cdeb4aec
commit
d7e002ff96
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306266
@ -8,7 +8,7 @@ NO_PIC=
|
||||
WARNS?= 2
|
||||
|
||||
CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/libcxxrt
|
||||
CFLAGS+=-I${SRCTOP}/contrib/libcxxrt
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "amd64"
|
||||
CRTARCH=x86_64
|
||||
@ -16,7 +16,7 @@ CRTARCH=x86_64
|
||||
CRTARCH=${MACHINE_CPUARCH}
|
||||
.endif
|
||||
|
||||
CRTSRC=${.CURDIR}/../../contrib/compiler-rt/lib/builtins
|
||||
CRTSRC=${SRCTOP}/contrib/compiler-rt/lib/builtins
|
||||
|
||||
.PATH: ${CRTSRC}/${CRTARCH} ${CRTSRC}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user