From: Mathieu Desnoyers Date: Thu, 24 Sep 2009 00:18:28 +0000 (-0400) Subject: Remove extra LDFLAGS from makefile X-Git-Tag: v0.1~33 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=17999ad8865f22a8d20e0a72c0e2e68c25e7b5c8;p=userspace-rcu.git Remove extra LDFLAGS from makefile > cc: -lpthread: linker input file unused because linking not done Signed-off-by: Mathieu Desnoyers --- 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