aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2015-07-01 15:51:11 +0000
committerRuslan Bukin <br@FreeBSD.org>2015-07-01 15:51:11 +0000
commitb78ee15e9f04ae15c3e1200df974473167524d17 (patch)
treee6b0ba6abf805eec2a1add71465116f05cc0c76a /lib
parent8b47cda2f77b115c7bcafdbf41e1412c618996cf (diff)
downloadsrc-b78ee15e9f04ae15c3e1200df974473167524d17.tar.gz
src-b78ee15e9f04ae15c3e1200df974473167524d17.zip
First cut of DTrace for AArch64.
Reviewed by: andrew, emaste Sponsored by: ARM Limited Differential Revision: https://reviews.freebsd.org/D2738
Notes
Notes: svn path=/head/; revision=285009
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index b8b3a52ab5ca..d17cb5d25cd1 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -215,8 +215,9 @@ _libldns= libldns
# sense to build when clang is enabled at all. Furthermore, they can only be
# built for certain architectures.
.if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \
- (${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
- (${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb"))
+ (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+ (${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb") || \
+ (${MACHINE_CPUARCH} == "i386"))
_libclang_rt= libclang_rt
.endif
@@ -273,7 +274,7 @@ _libsmb= libsmb
_libsmb= libsmb
.endif
-.if ${MACHINE_CPUARCH} == "arm"
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
_libsmb= libsmb
_libproc= libproc
_librtld_db= librtld_db