Date: Sun, 13 Oct 2019 20:23:44 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514418 - in head/math/math77: . files Message-ID: <201910132023.x9DKNiDl023916@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Oct 13 20:23:44 2019 New Revision: 514418 URL: https://svnweb.freebsd.org/changeset/ports/514418 Log: math/math77: fix build on GCC architectures Don't use -march=native, it breaks compilation with GCC. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21995 Modified: head/math/math77/Makefile head/math/math77/files/patch-makefile Modified: head/math/math77/Makefile ============================================================================== --- head/math/math77/Makefile Sun Oct 13 20:12:32 2019 (r514417) +++ head/math/math77/Makefile Sun Oct 13 20:23:44 2019 (r514418) @@ -2,7 +2,7 @@ PORTNAME= math77 PORTVERSION= 6.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= math MASTER_SITES= NL/math DISTNAME= ${PORTNAME} @@ -14,7 +14,6 @@ COMMENT= CalTech mathematical subprogram libraries for LICENSE= BSD3CLAUSE BROKEN_aarch64= fails to compile: error: unknown architecture native -BROKEN_powerpc64= fails to compile: error: unrecognized command line option -march=native USES= fortran gmake tar:tgz WRKSRC= ${WRKDIR}/MATH77 Modified: head/math/math77/files/patch-makefile ============================================================================== --- head/math/math77/files/patch-makefile Sun Oct 13 20:12:32 2019 (r514417) +++ head/math/math77/files/patch-makefile Sun Oct 13 20:23:44 2019 (r514418) @@ -5,7 +5,8 @@ # -ggdb to -O3 or -O2. -FC = /usr/bin/gfortran - std_flags=-march=native -fimplicit-none -fno-f2c -fno-backslash\ +-std_flags=-march=native -fimplicit-none -fno-f2c -fno-backslash\ ++std_flags=-fimplicit-none -fno-f2c -fno-backslash\ -funroll-loops -ffpe-trap=zero,overflow,invalid -finit-real=NAN\ - -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -pipe + -ftree-vectorize -pipe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910132023.x9DKNiDl023916>