From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-sports/race/files: race-0.5-ldflags.patch |
Date: | Thu, 09 Sep 2010 14:28:37 |
Message-Id: | 20100909142829.E7DCC20054@flycatcher.gentoo.org |
1 | tupone 10/09/09 14:28:29 |
2 | |
3 | Added: race-0.5-ldflags.patch |
4 | Log: |
5 | Respect LDFLAGS. Bug #336541 |
6 | (Portage version: 2.1.8.3/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-sports/race/files/race-0.5-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/race/files/race-0.5-ldflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/race/files/race-0.5-ldflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: race-0.5-ldflags.patch |
15 | =================================================================== |
16 | --- Makefile.old 2010-09-09 16:24:38.000000000 +0200 |
17 | +++ Makefile 2010-09-09 16:24:58.000000000 +0200 |
18 | @@ -24,7 +24,7 @@ |
19 | $(CC) src/messages.c -c `sdl-config --cflags` |
20 | $(CC) src/camera.c -c `sdl-config --cflags` |
21 | |
22 | - $(CC) main.o timing.o vector.o fifo.o ortho.o audio.o font.o \ |
23 | + $(CC) ${LDFLAGS} main.o timing.o vector.o fifo.o ortho.o audio.o font.o \ |
24 | init.o textures.o terrain.o menu.o game.o hud.o messages.o \ |
25 | camera.o \ |
26 | -o $(BIN) -lGL -lGLU -lSDL_image -lSDL_mixer -lm `sdl-config --libs` |