Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/gatling/files: gatling-0.12-FLAGS.patch
Date: Sun, 30 May 2010 23:36:41
Message-Id: 20100530233632.E8B172CF37@corvid.gentoo.org
1 vostorga 10/05/30 23:36:32
2
3 Added: gatling-0.12-FLAGS.patch
4 Log:
5 Respecting LDFLAGS, fixing pre-stripped files bug #314111
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 www-servers/gatling/files/gatling-0.12-FLAGS.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gatling/files/gatling-0.12-FLAGS.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/gatling/files/gatling-0.12-FLAGS.patch?rev=1.1&content-type=text/plain
13
14 Index: gatling-0.12-FLAGS.patch
15 ===================================================================
16 diff -NrU5 gatling-0.12.original/GNUmakefile gatling-0.12/GNUmakefile
17 --- gatling-0.12.original/GNUmakefile 2010-05-30 16:58:29.000000000 -0600
18 +++ gatling-0.12/GNUmakefile 2010-05-30 17:03:21.000000000 -0600
19 @@ -1,8 +1,8 @@
20 #DEBUG=1
21 ZLIB=1
22 -prefix=/opt/diet
23 +prefix=/usr
24 BINDIR=${prefix}/bin
25 MANDIR=${prefix}/man
26 man1dir=$(MANDIR)/man1
27
28 TARGETS=gatling httpbench bindbench dl ioerr bench tlsgatling \
29 @@ -14,12 +14,12 @@
30 all: $(ALLTARGETS)
31
32 CROSS=
33 #CROSS=i686-mingw32-
34 CC=$(CROSS)gcc
35 -CFLAGS=-pipe -Wall
36 -LDFLAGS=
37 +CFLAGS+=-pipe -Wall -I/usr/include/libowfat
38 +LDFLAGS+=
39
40 path = $(subst :, ,$(PATH))
41 diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
42 ifeq ($(strip $(diet_path)),)
43 ifneq ($(wildcard /opt/diet/bin/diet),)
44 @@ -37,11 +37,10 @@
45 ifneq ($(DEBUG),)
46 CFLAGS+=-g
47 LDFLAGS+=-g
48 else
49 CFLAGS+=-O2 -fomit-frame-pointer -I/usr/local/include
50 -LDFLAGS+=-s
51 ifneq ($(DIET),)
52 DIET+=-Os
53 endif
54 endif