From 17999ad8865f22a8d20e0a72c0e2e68c25e7b5c8 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 23 Sep 2009 20:18:28 -0400 Subject: [PATCH] Remove extra LDFLAGS from makefile > cc: -lpthread: linker input file unused because linking not done Signed-off-by: Mathieu Desnoyers --- Makefile.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index 6d83ae7..6dba18d 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -27,16 +27,16 @@ urcu.h: arch.h arch_atomic.h urcu-qsbr.h: arch.h arch_atomic.h urcu.o: urcu.c urcu.h - $(CC) -fPIC ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP) + $(CC) -fPIC ${CFLAGS} -c -o $@ $(SRC_DEP) urcu-mb.o: urcu.c urcu.h - $(CC) -fPIC -DURCU_MB ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP) + $(CC) -fPIC -DURCU_MB ${CFLAGS} -c -o $@ $(SRC_DEP) urcu-qsbr.o: urcu-qsbr.c urcu-qsbr.h - $(CC) -fPIC ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP) + $(CC) -fPIC ${CFLAGS} -c -o $@ $(SRC_DEP) urcu-defer.o: urcu-defer.c urcu-defer.h - $(CC) -fPIC ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP) + $(CC) -fPIC ${CFLAGS} -c -o $@ $(SRC_DEP) liburcu.so: urcu.o $(CC) ${LDFLAGS} -fPIC -shared -o $@ $< @@ -51,7 +51,7 @@ liburcu-defer.so: urcu-defer.o $(CC) ${LDFLAGS} -fPIC -shared -o $@ $< urcu-yield.o: urcu.c urcu.h - $(CC) -DDEBUG_YIELD ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP) + $(CC) -DDEBUG_YIELD ${CFLAGS} -c -o $@ $(SRC_DEP) .PHONY: clean install checkarch tests -- 2.34.1