summaryrefslogtreecommitdiff
path: root/sci-mathematics/ent/files/101202-gentoo.patch
blob: a71bc5050637eb9552513b4fdb232b2ac32257b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/Makefile b/Makefile
index 2a150cf..3f9b883 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 
 #   Unix make file for random test program
 
-CC = gcc
-CFLAGS = -g -Wall
+CC ?= gcc
+CFLAGS ?= -g -Wall
 #CFLAGS = -O
 
 ent:	ent.o iso8859.o randtest.o chisq.o
-	$(CC) $(CFLAGS) ent.o iso8859.o randtest.o chisq.o -o ent -lm
+	$(CC) $(LDFLAGS) $(CFLAGS) ent.o iso8859.o randtest.o chisq.o -o ent -lm
 
 ent.c:	iso8859.h randtest.h