devel/boost-libs: drop -no-integrated-as on aarch64

PR:		213867
Obtained from:	upstream
MFH:		2017Q1
This commit is contained in:
Jan Beich 2017-01-07 06:24:44 +00:00
parent c625f83d5e
commit b62e86faf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430767
2 changed files with 35 additions and 10 deletions

View file

@ -2,6 +2,7 @@
# $FreeBSD$
PORTNAME= boost-libs
PORTREVISION= 1
COMMENT= Free portable C++ libraries (without Boost.Python)
@ -30,15 +31,6 @@ ICU_MAKE_ARGS_OFF= boost.locale.icu=off
MAKE_ARGS+= --without-python
ALL_TARGET= stage
.include <bsd.port.pre.mk>
# XXX CHOSEN_COMPILER_VERSION isn't supported, so check CXX hasn't changed
.if ${ARCH} == aarch64 && ${CXX} == c++ && \
${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 39
BUILD_DEPENDS+= as:devel/binutils
CFLAGS+= -no-integrated-as
.endif
do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET}
@ -60,4 +52,4 @@ post-install:
-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -0,0 +1,33 @@
https://svn.boost.org/trac/boost/ticket/12551
https://github.com/boostorg/context/commit/26b61a67cf1d
--- libs/context/src/asm/jump_arm64_aapcs_elf_gas.S.orig 2016-09-21 14:33:22 UTC
+++ libs/context/src/asm/jump_arm64_aapcs_elf_gas.S
@@ -37,7 +37,6 @@
* *
*******************************************************/
-.cpu generic+fp+simd
.text
.align 2
.global jump_fcontext
--- libs/context/src/asm/make_arm64_aapcs_elf_gas.S.orig 2016-09-21 14:33:22 UTC
+++ libs/context/src/asm/make_arm64_aapcs_elf_gas.S
@@ -37,7 +37,6 @@
* *
*******************************************************/
-.cpu generic+fp+simd
.text
.align 2
.global make_fcontext
--- libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S.orig 2016-09-21 14:33:22 UTC
+++ libs/context/src/asm/ontop_arm64_aapcs_elf_gas.S
@@ -37,7 +37,6 @@
* *
*******************************************************/
-.cpu generic+fp+simd
.text
.align 2
.global ontop_fcontext