summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-07 11:02:09 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-07 11:02:09 +0200
commit62e3ddc88fe4221b322dde8c0e11347889970ce4 (patch)
tree736ff37be839df797f40aff05a6aed02d36fea8c /sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch
parentsci-libs/djbfft: Fix tc-directly (diff)
downloadgentoo-62e3ddc88fe4221b322dde8c0e11347889970ce4.tar.gz
gentoo-62e3ddc88fe4221b322dde8c0e11347889970ce4.tar.bz2
gentoo-62e3ddc88fe4221b322dde8c0e11347889970ce4.zip
sci-mathematics/dsfmt: Fix tc-directly
Closes: https://bugs.gentoo.org/780936 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch')
-rw-r--r--sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch b/sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch
new file mode 100644
index 000000000000..fda30002ad7d
--- /dev/null
+++ b/sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch
@@ -0,0 +1,12 @@
+# https://bugs.gentoo.org/780936
+--- a/Makefile
++++ b/Makefile
+@@ -28,7 +28,7 @@ OPTI = -O3 -finline-functions -fomit-frame-pointer -DNDEBUG \
+ #STD = -std=c89 -pedantic
+ #STD = -std=c99 -pedantic
+ STD = -std=c99
+-CC = gcc
++CC ?= gcc
+ CCFLAGS = $(OPTI) $(WARN) $(STD)
+ ALTIFLAGS = -mabi=altivec -maltivec -DHAVE_ALTIVEC
+ OSXALTIFLAGS = -faltivec -maltivec -DHAVE_ALTIVEC