public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove unused Makefile variable GCC_INCLUDE
@ 2020-12-11  0:27 Dmitry V. Levin
  2020-12-11 11:29 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2020-12-11  0:27 UTC (permalink / raw)
  To: elfutils-devel

It appears to be unused since the first commit in the revision history.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 libasm/ChangeLog   | 4 ++++
 libasm/Makefile.am | 1 -
 libelf/ChangeLog   | 4 ++++
 libelf/Makefile.am | 2 +-
 4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/libasm/ChangeLog b/libasm/ChangeLog
index 1684688b..6268b26c 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* Makefile.am (GCC_INCLUDE): Remove.
+
 2020-12-09  Dmitry V. Levin  <ldv@altlinux.org>
 
 	* Makefile.am (noinst_PROGRAMS): Rename to noinst_DATA.
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 7eba81f9..c2b54811 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -30,7 +30,6 @@
 include $(top_srcdir)/config/eu.am
 AM_CPPFLAGS += -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw -I$(top_srcdir)/libdwelf
 
-GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
 VERSION = 1
 
 lib_LIBRARIES = libasm.a
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 79c1a86c..38c0162a 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* Makefile.am (GCC_INCLUDE): Remove.
+
 2020-12-09  Dmitry V. Levin  <ldv@altlinux.org>
 
 	* Makefile.am (noinst_PROGRAMS): Rename to noinst_DATA.
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index a5f9eaa4..560ed45f 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -31,7 +31,7 @@ include $(top_srcdir)/config/eu.am
 if BUILD_STATIC
 AM_CFLAGS += $(fpic_CFLAGS)
 endif
-GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
+
 VERSION = 1
 
 lib_LIBRARIES = libelf.a
-- 
ldv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove unused Makefile variable GCC_INCLUDE
  2020-12-11  0:27 [PATCH] Remove unused Makefile variable GCC_INCLUDE Dmitry V. Levin
@ 2020-12-11 11:29 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2020-12-11 11:29 UTC (permalink / raw)
  To: Dmitry V. Levin, elfutils-devel

On Fri, 2020-12-11 at 03:27 +0300, Dmitry V. Levin wrote:
> It appears to be unused since the first commit in the revision
> history.

Thanks, pushed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  0:27 [PATCH] Remove unused Makefile variable GCC_INCLUDE Dmitry V. Levin
2020-12-11 11:29 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).