summaryrefslogtreecommitdiff
path: root/sci-mathematics/dsfmt/files/dsfmt-2.2.4-cc.patch
blob: fda30002ad7d2299dad64016b343bbdd791aba13 (plain)
1
2
3
4
5
6
7
8
9
10
11
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