From 141c703ed5c07380d09dba3e15bcf6f4cc44e0ea Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 20 Nov 2006 17:36:04 +0100 Subject: [PATCH] Use ld option --no-warn-mismatch when generating binary output. --- src/stub/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/Makefile b/src/stub/Makefile index 5ef7c37b..173a4e59 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -697,7 +697,7 @@ powerpc-darwin.macho-entry.h : $(srcdir)/src/$$T.S $(call tc,bin2h) --ident=l_mac_ppc32_loader tmp/$T.bin $@ powerpc-darwin.macho-fold.h : tmp/$$T.o tmp/powerpc-darwin.macho-main.o - $(call tc,ld) --strip-all --oformat binary -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin + $(call tc,ld) --no-warn-mismatch --strip-all --oformat binary -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin chmod a-x tmp/$T.bin $(call tc,bin2h) --ident=fold_machppc32 tmp/$T.bin $@