Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-embedded/tavrasm/files: tavrasm-1.22-gentoo.patch
Date: Fri, 07 May 2010 01:35:17
Message-Id: 20100507013513.420D02C3FA@corvid.gentoo.org
1 jer 10/05/07 01:35:13
2
3 Added: tavrasm-1.22-gentoo.patch
4 Log:
5 Adhere to CC, CFLAGS, LDFLAGS. Prevent implicit RDEPEND (bug #221319). Make dobin fail.
6 (Portage version: 2.2_rc67/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 dev-embedded/tavrasm/files/tavrasm-1.22-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/tavrasm/files/tavrasm-1.22-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/tavrasm/files/tavrasm-1.22-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: tavrasm-1.22-gentoo.patch
15 ===================================================================
16 * Do not set CC
17 * Adhere to CFLAGS and LDFLAGS, do not set optimisation flags
18
19
20 --- a/src/makefile 2004-12-12 00:51:29.000000000 +0100
21 +++ b/src/makefile 2010-05-07 03:26:38.000000000 +0200
22 @@ -24,8 +24,7 @@
23
24 ### Compiler options #########################################################
25
26 -CC = gcc
27 -CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
28 +CFLAGS += -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
29 CPPFLAGS =
30 CCFLAGS = $(CFLAGS) $(CPPFLAGS)
31 LINK = -lm -lstdc++
32 @@ -39,7 +38,7 @@
33 ### Executable ##############################################################
34
35 $(EXENAME): $(OBJS)
36 - $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@
37 + $(CC) $(CCFLAGS) $(LDFLAGS) $(OBJS) $(LINK) -o $@
38
39 ### Parser file #############################################################