svn commit: r306266 - head/lib/libcompiler_rt

Ed Maste emaste at FreeBSD.org
Fri Sep 23 13:23:53 UTC 2016


Author: emaste
Date: Fri Sep 23 13:23:52 2016
New Revision: 306266
URL: https://svnweb.freebsd.org/changeset/base/306266

Log:
  libcompiler_rt: use ${SRCTOP} for the top of the FreeBSD tree

Modified:
  head/lib/libcompiler_rt/Makefile

Modified: head/lib/libcompiler_rt/Makefile
==============================================================================
--- head/lib/libcompiler_rt/Makefile	Fri Sep 23 13:21:29 2016	(r306265)
+++ head/lib/libcompiler_rt/Makefile	Fri Sep 23 13:23:52 2016	(r306266)
@@ -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}
 


More information about the svn-src-all mailing list