public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-emulation/gcube/files: gcube-0.4-ldflags.patch
@ 2010-10-01  5:24 Alfredo Tupone (tupone)
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2010-10-01  5:24 UTC (permalink / raw
  To: gentoo-commits

tupone      10/10/01 05:24:08

  Added:                gcube-0.4-ldflags.patch
  Log:
  Respect LDFLAGS. Bug #337330
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.1                  games-emulation/gcube/files/gcube-0.4-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/gcube/files/gcube-0.4-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/gcube/files/gcube-0.4-ldflags.patch?rev=1.1&content-type=text/plain

Index: gcube-0.4-ldflags.patch
===================================================================
--- 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 $@ $<






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-01  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01  5:24 [gentoo-commits] gentoo-x86 commit in games-emulation/gcube/files: gcube-0.4-ldflags.patch Alfredo Tupone (tupone)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox