Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140101901
D20378.id59532.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
D20378.id59532.diff
View Options
Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -297,7 +297,8 @@
# build Clang without using an external compiler.
.if ${COMPILER_FEATURES:Mc++11} && (${__T} == "aarch64" || \
- ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386")
+ ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386" || \
+ ${__T} == "powerpc" || ${__T} == "powerpc64")
# Clang is enabled, and will be installed as the default /usr/bin/cc.
__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_CC LLD
__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
@@ -320,13 +321,14 @@
BROKEN_OPTIONS+=OFED
.endif
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \
- ${__T:Mriscv*} != "" || ${__TT} == "mips"
+ ${__T:Mriscv*} != "" || ${__TT} == "mips" || ${__T} == "powerpc" || \
+ ${__T} == "powerpc64"
__DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
.else
__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
.endif
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "armv7" || \
- ${__T} == "i386"
+ ${__T} == "i386" || ${__T} == "powerpc64"
__DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
.else
__DEFAULT_NO_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 6:16 AM (15 m, 14 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27108571
Default Alt Text
D20378.id59532.diff (1 KB)
Attached To
Mode
D20378: [PowerPC64] LLVM as default toolchain for PowerPC and PowerPC64
Attached
Detach File
Event Timeline
Log In to Comment