From 213a01b0699d88b20dfb9ed78db1f293a85d2bdc Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 7 Oct 2011 13:24:16 +0200 Subject: [PATCH] Makefile: move -rdynamic to linking flag Signed-off-by: Jens Axboe --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2b9c006b..84e7a4be 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ ifeq ($(UNAME), Linux) engines/splice.c engines/syslet-rw.c engines/guasi.c \ engines/binject.c engines/rdma.c profiles/tiobench.c LIBS += -lpthread -ldl -lrt -laio - CFLAGS += -rdynamic + LDFLAGS += -rdynamic endif ifeq ($(UNAME), SunOS) SOURCE += fifo.c lib/strsep.c helpers.c engines/posixaio.c \ @@ -33,12 +33,12 @@ endif ifeq ($(UNAME), FreeBSD) SOURCE += helpers.c engines/posixaio.c LIBS += -lpthread -lrt - CFLAGS += -rdynamic + LDFLAGS += -rdynamic endif ifeq ($(UNAME), NetBSD) SOURCE += helpers.c engines/posixaio.c LIBS += -lpthread -lrt - CFLAGS += -rdynamic + LDFLAGS += -rdynamic endif ifeq ($(UNAME), AIX) SOURCE += fifo.c helpers.c lib/getopt_long.c engines/posixaio.c -- 2.25.1