From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-plugins/libflashsupport/files: libflashsupport-1.2-gentoo.patch |
Date: | Mon, 08 Feb 2010 20:38:30 |
Message-Id: | E1NeaNG-0007Hu-Q6@stork.gentoo.org |
1 | jer 10/02/08 20:38:26 |
2 | |
3 | Added: libflashsupport-1.2-gentoo.patch |
4 | Log: |
5 | Respect CC, LDFLAGS (bug #268493). Change HOMEPAGE. |
6 | (Portage version: 2.2_rc62/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 www-plugins/libflashsupport/files/libflashsupport-1.2-gentoo.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/libflashsupport/files/libflashsupport-1.2-gentoo.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/libflashsupport/files/libflashsupport-1.2-gentoo.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libflashsupport-1.2-gentoo.patch |
15 | =================================================================== |
16 | --- libflashsupport-1.2/Makefile.org 2010-02-08 21:30:35.000000000 +0100 |
17 | +++ libflashsupport-1.2/Makefile 2010-02-08 21:34:35.000000000 +0100 |
18 | @@ -1,6 +1,6 @@ |
19 | #Default flags |
20 | -CC=gcc |
21 | -CFLAGS=-fPIC -shared -O2 -Wall -Werror |
22 | +CC ?= gcc |
23 | +CFLAGS += -fPIC -shared -Wall |
24 | LIBS=-lpthread |
25 | |
26 | #Define library directory |
27 | @@ -49,7 +49,7 @@ |
28 | all: libflashsupport.so |
29 | |
30 | libflashsupport.so: flashsupport.c |
31 | - $(CC) $(CFLAGS) $(LIBS) -DLIBDIR=$(LIBDIR) \ |
32 | + $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -DLIBDIR=$(LIBDIR) \ |
33 | flashsupport.c -o libflashsupport.so \ |
34 | $(ALSA) $(ALSALIBS) $(PULSE) $(LIBPULSEPATH) $(ESD) $(LIBESDPATH) \ |
35 | $(OSS) $(SSL) $(SSLLIBS) $(V4L) $(ICULIBS) |