summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-06-08 11:48:22 -0500
committerDavid Teigland <teigland@redhat.com>2015-06-08 11:48:22 -0500
commitfd29c7f3a171174dcd47eb8b23ff42a145cdacc6 (patch)
tree948adf80f061b9cfae0ded00ac26f7e5f1ea8e27
parent7c312932215f8d70c4f6beb7db506898f4670cfe (diff)
downloadlvm2-fd29c7f3a171174dcd47eb8b23ff42a145cdacc6.tar.gz
lvmetad, lvmpolld: remove DL_LIBS from Makefile
and rdynamic. They are not needed.
-rw-r--r--daemons/lvmetad/Makefile.in3
-rw-r--r--daemons/lvmpolld/Makefile.in3
2 files changed, 2 insertions, 4 deletions
diff --git a/daemons/lvmetad/Makefile.in b/daemons/lvmetad/Makefile.in
index f9b997ebe..765128c83 100644
--- a/daemons/lvmetad/Makefile.in
+++ b/daemons/lvmetad/Makefile.in
@@ -39,8 +39,7 @@ CFLAGS += $(EXTRA_EXEC_CFLAGS)
lvmetad: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \
$(top_builddir)/libdaemon/server/libdaemonserver.a
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \
- $(DL_LIBS) $(LVMLIBS) $(LIBS) -rdynamic
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LVMLIBS) $(LIBS)
# TODO: No idea. No idea how to test either.
#ifneq ("$(CFLOW_CMD)", "")
diff --git a/daemons/lvmpolld/Makefile.in b/daemons/lvmpolld/Makefile.in
index 55f3dad22..8ebbb906c 100644
--- a/daemons/lvmpolld/Makefile.in
+++ b/daemons/lvmpolld/Makefile.in
@@ -38,8 +38,7 @@ CFLAGS += $(DAEMON_CFLAGS)
lvmpolld: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \
$(top_builddir)/libdaemon/server/libdaemonserver.a
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \
- $(DL_LIBS) $(LVMLIBS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LVMLIBS) $(LIBS)
install_lvmpolld: lvmpolld
$(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)