Alexandre Julliard : tools: Add LDFLAGS to all the linker invocations.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 4 16:15:28 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: d237bda6e7a044f419b8b6455fadc247f3e0e487
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=d237bda6e7a044f419b8b6455fadc247f3e0e487

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr  4 13:45:34 2006 +0200

tools: Add LDFLAGS to all the linker invocations.

---

 tools/Makefile.in         |   14 +++++++-------
 tools/winegcc/Makefile.in |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/Makefile.in b/tools/Makefile.in
index 1fcc092..361278f 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -49,25 +49,25 @@ all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
 @MAKE_RULES@
 
 makedep$(EXEEXT): makedep.o
-	$(CC) $(CFLAGS) -o $@ makedep.o
+	$(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
 
 make_ctests$(EXEEXT): make_ctests.o
-	$(CC) $(CFLAGS) -o $@ make_ctests.o
+	$(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
 
 fnt2bdf$(EXEEXT): fnt2bdf.o
-	$(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT)
+	$(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
 
 fnt2fon$(EXEEXT): fnt2fon.o
-	$(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT)
+	$(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
 
 relpath$(EXEEXT): relpath.o
-	$(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT)
+	$(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
 
 sfnt2fnt$(EXEEXT): sfnt2fnt.o
-	$(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS)
+	$(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)
 
 bin2res$(EXEEXT): bin2res.o
-	$(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT)
+	$(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT) $(LDFLAGS)
 
 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
 	sed -e "s, at bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s, at bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
diff --git a/tools/winegcc/Makefile.in b/tools/winegcc/Makefile.in
index 1b80531..09fd6b8 100644
--- a/tools/winegcc/Makefile.in
+++ b/tools/winegcc/Makefile.in
@@ -34,7 +34,7 @@ all: $(PROGRAMS) $(MANPAGES)
 @MAKE_RULES@
 
 winegcc$(EXEEXT): winegcc.o utils.o
-	$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
+	$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT) $(LDFLAGS)
 
 winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
 	$(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@




More information about the wine-cvs mailing list