X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Makefile;h=0ab4f82c32c3db5b06b8e16fb8cd383a45fdcd9a;hb=a1db4528a59a99c5e2aa66091c505fb60e3a70ca;hp=2432f5192f8eb63295a382108f6f1be3f29cdbb2;hpb=738694ae75722aee2aa3952257af62aee7957770;p=fio.git diff --git a/Makefile b/Makefile index 2432f519..0ab4f82c 100644 --- a/Makefile +++ b/Makefile @@ -295,7 +295,7 @@ define engine_template = $(1)_OBJS := $$($(1)_SRCS:.c=.o) $$($(1)_OBJS): CFLAGS := -fPIC $$($(1)_CFLAGS) $(CFLAGS) engines/fio-$(1).so: $$($(1)_OBJS) - $$(QUIET_LINK)$(CC) $(DYNAMIC) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS) + $$(QUIET_LINK)$(CC) $(LDFLAGS) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS) ENGS_OBJS += engines/fio-$(1).so endef else # !CONFIG_DYNAMIC_ENGINES