File netboot-rpi3b-fix-link.patch of Package netboot-rpi3b
From: Petr Tesarik <ptesarik@suse.com> Subject: Fix linking with recent binutils Upstream: merged Git-commit: 415bf895d292fac784abc67491707f54f7953942 Libraries must be specified after the object files that contain the undefined references to symbols from those libraries. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ OBJS=\ all: $(PROGRAMS) netboot-rpi3b: $(OBJS) - $(CC) $(LDFLAGS) $(LIBS) -o $@ $< + $(CC) $(LDFLAGS) -o $@ $< $(LIBS) clean: rm -f $(OBJS) $(PROGRAMS)