summaryrefslogtreecommitdiff
path: root/math/csdp/files/patch-Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-12-07 12:25:21 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2021-12-07 12:26:46 -0800
commitc302a18b719e5577f046b602c9454f8bf20bb684 (patch)
tree0472d82e01c0432d250ec339a358b7b63d7769e2 /math/csdp/files/patch-Makefile
parentnet-im/tox: upgrade to v0.2.13 (diff)
math/csdp: Fix build on 14-CURRENT
Diffstat (limited to 'math/csdp/files/patch-Makefile')
-rw-r--r--math/csdp/files/patch-Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/csdp/files/patch-Makefile b/math/csdp/files/patch-Makefile
index edb5223924a4..6bff733238d2 100644
--- a/math/csdp/files/patch-Makefile
+++ b/math/csdp/files/patch-Makefile
@@ -1,3 +1,5 @@
+- replacement of -ansi with -std=c99 is to work around https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260136
+
--- Makefile.orig 2017-07-25 18:44:57 UTC
+++ Makefile
@@ -11,11 +11,11 @@
@@ -5,7 +7,7 @@
# CFLAGS settings for 64 bit Linux/unix systems.
#
-export CFLAGS=-m64 -march=native -mtune=native -Ofast -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
-+CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
++CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -std=c99 -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
#
# LIBS settings for 64 bit Linux/unix systems.
#