diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-01 05:24:08 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-01 05:24:08 +0000 |
commit | 72211b8b503c70426442d4d911a1990106a0f7b6 (patch) | |
tree | 4e318a0c2b0b6bf732ce638f1e1569c7da7abd91 /games-emulation/gcube/files | |
parent | Respect LDFLAGS. Bug #337332 (diff) | |
download | gentoo-2-72211b8b503c70426442d4d911a1990106a0f7b6.tar.gz gentoo-2-72211b8b503c70426442d4d911a1990106a0f7b6.tar.bz2 gentoo-2-72211b8b503c70426442d4d911a1990106a0f7b6.zip |
Respect LDFLAGS. Bug #337330
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation/gcube/files')
-rw-r--r-- | games-emulation/gcube/files/gcube-0.4-ldflags.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-emulation/gcube/files/gcube-0.4-ldflags.patch b/games-emulation/gcube/files/gcube-0.4-ldflags.patch new file mode 100644 index 000000000000..169472ee1851 --- /dev/null +++ b/games-emulation/gcube/files/gcube-0.4-ldflags.patch @@ -0,0 +1,30 @@ +--- Makefile.rules.old 2010-10-01 07:16:16.000000000 +0200 ++++ Makefile.rules 2010-10-01 07:18:04.000000000 +0200 +@@ -88,22 +88,22 @@ + profiler: default + + gcube: $(OBJECTS) gcube.o +- $(CC) $(CFLAGS) $^ -o $@ $(LIBS) ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@ $(LIBS) + + gcubedbg: $(OBJECTS) gcubedbg.o cpu_dbg.o + $(CC) $(CFLAGS) $^ -o $@ $(LIBS) + + bin2dol: bin2dol.c general.o +- $(CC) $(CFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@ + + tplx: tplx.o general.o +- $(CC) $(CFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@ + + thpview: thpview.o general.o jpeg_tools.o +- $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` $^ -o $@ -ljpeg `$(SDL_CONFIG) --libs` ++ $(CC) $(LDFLAGS) $(CFLAGS) `$(SDL_CONFIG) --cflags` $^ -o $@ -ljpeg `$(SDL_CONFIG) --libs` + + isopack: isopack.o general.o +- $(CC) $(CFLAGS) $^ -o $@ -lz ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@ -lz + + ppc_disasm.o: ppc_disasm.c + $(CC) -g -c -o $@ $< |