diff options
Diffstat (limited to 'patches/zip-2.32/zip-2.32-assembler-filename.diff')
-rw-r--r-- | patches/zip-2.32/zip-2.32-assembler-filename.diff | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/patches/zip-2.32/zip-2.32-assembler-filename.diff b/patches/zip-2.32/zip-2.32-assembler-filename.diff new file mode 100644 index 000000000..c768b08cb --- /dev/null +++ b/patches/zip-2.32/zip-2.32-assembler-filename.diff @@ -0,0 +1,34 @@ +From: Robert Schwebel <r.schwebel@pengutronix.de> +Subject: zip: fix assembler file name assumption + +The Makefile assumes that as outputs _foo.s' object code to foo.o which +is not true with current gcc versions. We fix it to use the -o options +and specify the output name explicitly. + +Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> + +--- + unix/Makefile | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +Index: zip-2.32/unix/Makefile +=================================================================== +--- zip-2.32.orig/unix/Makefile ++++ zip-2.32/unix/Makefile +@@ -89,14 +89,12 @@ zipup.o: unix/zipup.h + + match.o: match.S + $(CPP) match.S > _match.s +- $(AS) _match.s +- mv _match.o match.o ++ $(AS) _match.s -o match.o + rm -f _match.s + + crc_i386.o: crc_i386.S + $(CPP) crc_i386.S > _crc_i386.s +- $(AS) _crc_i386.s +- mv _crc_i386.o crc_i386.o ++ $(AS) _crc_i386.s -o crc_i386.o + rm -f _crc_i386.s + + unix.o: unix/unix.c |