summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-06-19 20:12:51 +0200
committerBertrik Sikken <bertrik@sikken.nl>2012-06-19 20:12:51 +0200
commiteb652b054e780222db89f1072a39759de1fd393e (patch)
treedeaa9305230aad7366b92aa3320bf037efd6f270
parent1ccc6587df4a03a314f5415c8e8c3466f5e710d3 (diff)
downloadrockbox-eb652b054e780222db89f1072a39759de1fd393e.tar.gz
rockbox-eb652b054e780222db89f1072a39759de1fd393e.zip
Fix link order of mkzenboot and usb_benchmark to make them compile with gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Change-Id: I433a36074cacc4b0a97f88af5fe26d0084c1fc25
-rw-r--r--tools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 2b4b1ae88b..6448f64c3b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -54,7 +54,7 @@ mkzenboot.o: mkzenboot.c
$(SILENT)$(CC) $(CFLAGS) -DSTANDALONE -c -o $@ $+
mkzenboot: mkzenboot.o hmac-sha1.o
- $(SILENT)$(CC) $(LDFLAGS) -lz $+ -o $@
+ $(SILENT)$(CC) $(LDFLAGS) $+ -lz -o $@
mkzenboot.exe: mkzenboot.o hmac-sha1.o
$(SILENT)$(CC) $(LDFLAGS) -lz $+ C:\MingW\lib\libz.a -o $@
@@ -95,7 +95,7 @@ voicefont: voicefont.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
usb_benchmark: usb_benchmark.c
- $(SILENT)$(CC) $(CFLAGS) -lusb $+ -o $@
+ $(SILENT)$(CC) $(CFLAGS) $+ -lusb -o $@
convttf: convttf.c
$(call PRINTS,CC $(@F))