FreeBSD Bugzilla – Attachment 187047 Details for
Bug 221908
[patch] adapt devel/llvm* and lang/clang* to new 'armv7' architecture
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
llvm50 patch
llvm50.diff (text/plain), 1.22 KB, created by
Michal Meloun
on 2017-10-10 11:11:20 UTC
(
hide
)
Description:
llvm50 patch
Filename:
MIME Type:
Creator:
Michal Meloun
Created:
2017-10-10 11:11:20 UTC
Size:
1.22 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 451584) >+++ Makefile (working copy) >@@ -194,8 +194,21 @@ > .include <bsd.port.options.mk> > > # keep in sync with /usr/src/lib/clang/clang.build.mk >-CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} >+# ----------- start of sync block ------------------ >+# Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. >+# arm (for armv4 and armv5 CPUs) always uses the soft float ABI. >+# For all other targets, we stick with 'unknown'. >+.if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") >+TARGET_ABI= -gnueabihf >+.elif ${ARCH:Marm*} >+TARGET_ABI= -gnueabi >+.else >+TARGET_ABI= >+.endif > >+CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} >+# ----------- end of sync block -------------------- >+ > .if ${PORT_OPTIONS:MCLANG} > COMMANDS+= c-index-test \ > clang \ >@@ -323,7 +336,7 @@ > CXXFLAGS+= -D_GLIBCXX_USE_C99 > .endif > >-.if ${ARCH} == "armv6" >+.if ${ARCH} == armv6 || ${ARCH} == armv7 > BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils > CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin > MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221908
:
185877
|
185899
| 187047