From d0335ff259f336a55b9a3c9403f0ffce4e90f460 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Mon, 4 May 2020 18:23:05 +0200 Subject: [PATCH] src: remote: Makefile: drop CFLAGS and LDFLAGS duplication MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko Reviewed-by: Michal Privoznik --- src/remote/Makefile.inc.am | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/remote/Makefile.inc.am b/src/remote/Makefile.inc.am index 1b1be8340d..c24be46374 100644 --- a/src/remote/Makefile.inc.am +++ b/src/remote/Makefile.inc.am @@ -35,16 +35,13 @@ REMOTE_DAEMON_SOURCES = \ $(NULL) REMOTE_DAEMON_CFLAGS = \ - $(LIBXML_CFLAGS) \ - $(GLIB_CFLAGS) \ + $(AM_CFLAGS) \ $(GNUTLS_CFLAGS) \ $(SASL_CFLAGS) \ $(XDR_CFLAGS) \ $(DBUS_CFLAGS) \ $(LIBNL_CFLAGS) \ - $(WARN_CFLAGS) \ $(PIE_CFLAGS) \ - $(COVERAGE_CFLAGS) \ -I$(srcdir)/access \ -I$(builddir)/access \ -I$(srcdir)/conf \ @@ -54,11 +51,9 @@ REMOTE_DAEMON_CFLAGS = \ $(NULL) REMOTE_DAEMON_LD_FLAGS = \ - $(RELRO_LDFLAGS) \ + $(AM_LDFLAGS) \ $(PIE_LDFLAGS) \ - $(NO_INDIRECT_LDFLAGS) \ $(NO_UNDEFINED_LDFLAGS) \ - $(COVERAGE_LDFLAGS) \ $(NULL) REMOTE_DAEMON_LD_ADD = \ -- 2.47.2