From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/flasm/files: flasm-1.63-makefile.patch |
Date: | Mon, 30 Aug 2010 23:37:36 |
Message-Id: | 20100830233731.0470F20054@flycatcher.gentoo.org |
1 | xmw 10/08/30 23:37:31 |
2 | |
3 | Added: flasm-1.63-makefile.patch |
4 | Log: |
5 | Version bump, fixes 332041 |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-misc/flasm/files/flasm-1.63-makefile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/flasm/files/flasm-1.63-makefile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/flasm/files/flasm-1.63-makefile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: flasm-1.63-makefile.patch |
15 | =================================================================== |
16 | --- Makefile.o 2010-08-31 01:17:46.505000089 +0200 |
17 | +++ Makefile 2010-08-31 01:19:11.841000098 +0200 |
18 | @@ -1,6 +1,4 @@ |
19 | UNAME = $(shell uname) |
20 | -CC = gcc |
21 | -CFLAGS = -g -Wall -O2 |
22 | LIBS = -lz |
23 | OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o |
24 | GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core |
25 | @@ -9,8 +7,6 @@ |
26 | ifneq (,$(findstring debug,$(MAKECMDGOALS))) |
27 | CFLAGS += -DMEMWATCH -pg -p -pedantic -W -Wcast-align -Wcast-qual -Wshadow -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wmissing-prototypes -Wpointer-arith |
28 | OFILES += memwatch.o |
29 | -else |
30 | - CFLAGS += -s |
31 | endif |
32 | |
33 | # executable should not depend on cygwin.dll |
34 | @@ -26,7 +22,7 @@ |
35 | -rm -f ${OFILES} ${GARBAGE} |
36 | |
37 | flasm: ${OFILES} |
38 | - ${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS} |
39 | + ${CC} $(CFLAGS) $(LDFLAGS) -o flasm ${OFILES} ${LIBS} |
40 | |
41 | assembler.tab.c assembler.tab.h: assembler.y |
42 | bison --defines --debug assembler.y |