Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157030843
D55157.id171529.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55157.id171529.diff
View Options
diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile
--- a/lib/clang/libclang/Makefile
+++ b/lib/clang/libclang/Makefile
@@ -14,6 +14,10 @@
# Work around "relocation R_PPC_GOT16 out of range" errors
PICFLAG= -fPIC
.endif
+.if ${MACHINE_CPUARCH} == "aarch64"
+# Only required for GCC
+LIBADD+= compiler_rt
+.endif
.endif
SHARED_CXXFLAGS+= -UPIC # To avoid compile errors
diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -10,6 +10,10 @@
SHLIB_CXX= lldb
SHLIB_MAJOR= 19
PRIVATELIB=
+.if ${MACHINE_CPUARCH} == "aarch64"
+# Only required for GCC
+LIBADD+= compiler_rt
+.endif
.endif
SHARED_CXXFLAGS+= -UPIC # To avoid compile errors
diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -14,6 +14,10 @@
# Work around "relocation R_PPC_GOT16 out of range" errors
PICFLAG= -fPIC
.endif
+.if ${MACHINE_CPUARCH} == "aarch64"
+# Only required for GCC
+LIBADD+= compiler_rt
+.endif
CFLAGS+= -DLLVM_BUILD_LLVM_DYLIB
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 1:14 AM (19 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33223348
Default Alt Text
D55157.id171529.diff (1 KB)
Attached To
Mode
D55157: llvm: Link private LLVM libraries against compiler_rt for aarch64
Attached
Detach File
Event Timeline
Log In to Comment