From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/btyacc/files: btyacc-3.0-makefile.patch |
Date: | Fri, 04 Sep 2009 08:25:45 |
Message-Id: | E1MjYvf-0007OY-5D@stork.gentoo.org |
1 | jer 09/09/04 13:34:15 |
2 | |
3 | Added: btyacc-3.0-makefile.patch |
4 | Log: |
5 | Respect CC (bug #243974), append to CFLAGS (but not -g), append to LDFLAGS, use system LD. |
6 | (Portage version: 2.2_rc40/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-util/btyacc/files/btyacc-3.0-makefile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/btyacc/files/btyacc-3.0-makefile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/btyacc/files/btyacc-3.0-makefile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: btyacc-3.0-makefile.patch |
15 | =================================================================== |
16 | Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer |
17 | |
18 | --- Makefile.orig 1999-07-15 19:40:12.000000000 +0200 |
19 | +++ Makefile 2009-09-04 15:27:15.000000000 +0200 |
20 | @@ -8,14 +8,13 @@ |
21 | |
22 | HDRS = defs.h mstring.h |
23 | |
24 | -CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes |
25 | +CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes |
26 | |
27 | -LDFLAGS = -static |
28 | +LDFLAGS += -static |
29 | |
30 | LIBS = |
31 | |
32 | -CC = gcc |
33 | -LINKER = gcc |
34 | +LINKER = $(CC) |
35 | # LINKER = cl |
36 | # CC = cl |