diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-13 20:23:44 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-13 20:23:44 +0000 |
commit | 256e5eca530d9f3fc1a038e8c6602a30cc70b5bd (patch) | |
tree | 7f68efaaf0d9dd72bad5d00a03f46e81f5b3e944 /math/math77/files/patch-makefile | |
parent | www/py-libsass: Update 0.19.2 -> 0.19.3 (diff) |
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
Notes
Notes:
svn path=/head/; revision=514418
Diffstat (limited to 'math/math77/files/patch-makefile')
-rw-r--r-- | math/math77/files/patch-makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/math/math77/files/patch-makefile b/math/math77/files/patch-makefile index d5234e097df3..bb5348fc4816 100644 --- a/math/math77/files/patch-makefile +++ b/math/math77/files/patch-makefile @@ -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 |