From eb652b054e780222db89f1072a39759de1fd393e Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Tue, 19 Jun 2012 20:12:51 +0200 Subject: [PATCH] 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 --- tools/Makefile | 4 ++-- 1 file 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))