This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH] Add EXEEXT to gendis
- From: Ulf Hermann <ulf dot hermann at qt dot io>
- To: <elfutils-devel at sourceware dot org>
- Date: Thu, 20 Apr 2017 17:02:42 +0200
- Subject: [PATCH] Add EXEEXT to gendis
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=qt.io;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtcompany.onmicrosoft.com; s=selector1-qt-io; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ADwa+fypr0UaLWyhIDe66supIUBEJactKV7uaJV8lPA=; b=fTEVQPlgfqyl3mqL9hB0iLAI+WhcZjdc2ZjYANUxyaR/fi1X/mbxIMs4l3bDKrL6q9a3RR4NNvQSpvL8hthwHB0KbJBEEk8+3G1kpeOSjOo8/Ob4x8tfBD2TbPVvarE/7o/FmHg8r9GRmw6M/+8UATNkTxbstLwIa4oYzc1D83E=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Otherwise the build will fail on systems that actually need file
extension for executables.
Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
---
libcpu/ChangeLog | 4 ++++
libcpu/Makefile.am | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog
index e59e876..7fe4345 100644
--- a/libcpu/ChangeLog
+++ b/libcpu/ChangeLog
@@ -1,5 +1,9 @@
2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
+ * Makefile.am: Add EXEEXT to gendis.
+
+2017-04-20 Ulf Hermann <ulf.hermann@qt.io>
+
* i386_parse.y: Eliminate comparison_fn_t.
2016-11-02 Mark Wielaard <mjw@redhat.com>
diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am
index b98b583..31fc906 100644
--- a/libcpu/Makefile.am
+++ b/libcpu/Makefile.am
@@ -58,10 +58,10 @@ endif
if MAINTAINER_MODE
noinst_HEADERS = memory-access.h i386_parse.h i386_data.h
-noinst_PROGRAMS = i386_gendis
+noinst_PROGRAMS = i386_gendis$(EXEEXT)
-$(srcdir)/%_dis.h: %_defs i386_gendis
- $(AM_V_GEN)./i386_gendis $< > $@T
+$(srcdir)/%_dis.h: %_defs i386_gendis$(EXEEXT)
+ $(AM_V_GEN)./i386_gendis$(EXEEXT) $< > $@T
$(AM_V_at)mv -f $@T $@
else
--
2.1.4