From 5cdebfaeec80a9cd6288c36f43b73601a1f518fe Mon Sep 17 00:00:00 2001 From: linimon Date: Wed, 27 Dec 2017 07:36:05 +0000 Subject: Disable the extra flag "-march=native" on arm to fix builds. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run --- biology/phyml/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'biology/phyml') diff --git a/biology/phyml/Makefile b/biology/phyml/Makefile index 652db021400e..53c8ca69ab72 100644 --- a/biology/phyml/Makefile +++ b/biology/phyml/Makefile @@ -13,9 +13,9 @@ COMMENT= Simple, fast, and accurate algorithm to estimate large phylogenies LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' USE_GITHUB= yes GH_ACCOUNT= stephaneguindon @@ -50,6 +50,9 @@ BIN_SUFFIX= # none post-patch: @${REINPLACE_CMD} -e \ 's|-O2 .* $${ARCH_flag}|$${CFLAGS}|' ${WRKSRC}/configure.ac +.if ${ARCH} != amd64 && ${ARCH} != i386 + @${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac +.endif @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/utilities.h post-install-DOCS-on: -- cgit