Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/ent/files: 101202-gentoo.patch
Date: Thu, 02 Dec 2010 17:46:20
Message-Id: 20101202174605.4A84D20057@flycatcher.gentoo.org
1 jlec 10/12/02 17:46:05
2
3 Added: 101202-gentoo.patch
4 Log:
5 Addition requested #347577
6
7 (Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-mathematics/ent/files/101202-gentoo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/ent/files/101202-gentoo.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/ent/files/101202-gentoo.patch?rev=1.1&content-type=text/plain
14
15 Index: 101202-gentoo.patch
16 ===================================================================
17 diff --git a/Makefile b/Makefile
18 index 2a150cf..3f9b883 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -1,12 +1,12 @@
22
23 # Unix make file for random test program
24
25 -CC = gcc
26 -CFLAGS = -g -Wall
27 +CC ?= gcc
28 +CFLAGS ?= -g -Wall
29 #CFLAGS = -O
30
31 ent: ent.o iso8859.o randtest.o chisq.o
32 - $(CC) $(CFLAGS) ent.o iso8859.o randtest.o chisq.o -o ent -lm
33 + $(CC) $(LDFLAGS) $(CFLAGS) ent.o iso8859.o randtest.o chisq.o -o ent -lm
34
35 ent.c: iso8859.h randtest.h