From: Jens Axboe Date: Fri, 7 Oct 2011 11:24:16 +0000 (+0200) Subject: Makefile: move -rdynamic to linking flag X-Git-Tag: fio-1.99.3~3 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=213a01b0699d88b20dfb9ed78db1f293a85d2bdc Makefile: move -rdynamic to linking flag Signed-off-by: Jens Axboe --- 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