From 93b1468d25acc10a3409a75a8aaaca22302e0d52 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Tue, 14 Oct 2014 18:51:26 +0100 Subject: [PATCH] build: fix build of libsimavr.so Was being linked with itself. Newer gcc are not amused. Signed-off-by: Michel Pollet --- simavr/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simavr/Makefile b/simavr/Makefile index fb2ac49..93dfb35 100644 --- a/simavr/Makefile +++ b/simavr/Makefile @@ -63,10 +63,10 @@ endif # ${OBJ}/libsimavr.so.1 : ${sim_o} ifeq ($(V),1) - $(CC) -shared -Wl,-soname,libsimavr.so.1 -o $@ $^ $(LDFLAGS) + $(CC) -shared -Wl,-soname,libsimavr.so.1 -o $@ $^ ${filter-out -lsimavr, $(LDFLAGS)} else @echo SHARED $@ - @$(CC) -shared -Wl,-soname,libsimavr.so.1 -o $@ $^ $(LDFLAGS) + @$(CC) -shared -Wl,-soname,libsimavr.so.1 -o $@ $^ ${filter-out -lsimavr, $(LDFLAGS)} endif ${OBJ}/libsimavr.so : ${OBJ}/libsimavr.so.1 -- 2.39.5