[gcc-7] 189/354: * Work around #814977 (gnat calling gcc-7-7) by providing a gcc-7-7 symlink.

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:50:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository gcc-7.

commit c011dbad50fc4d7d1ad9cdb4176b7e4f1c0a130b
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Mon May 15 23:25:57 2017 +0000

      * Work around #814977 (gnat calling gcc-7-7) by providing a gcc-7-7
        symlink.
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9477 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog             | 2 ++
 debian/rules.d/binary-ada.mk | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9c6f7ab..21d553d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 gcc-7 (7.1.0-6) UNRELEASED; urgency=medium
 
   * Re-add unwind support on kfreebsd-amd64 (James Clarke).
+  * Work around #814977 (gnat calling gcc-7-7) by providing a gcc-7-7
+    symlink.
 
  -- Matthias Klose <doko at debian.org>  Mon, 15 May 2017 16:22:37 -0700
 
diff --git a/debian/rules.d/binary-ada.mk b/debian/rules.d/binary-ada.mk
index 46abc53..66fe823 100644
--- a/debian/rules.d/binary-ada.mk
+++ b/debian/rules.d/binary-ada.mk
@@ -236,6 +236,11 @@ endif
 	done
 
 ifneq (,$(filter $(build_type), build-native cross-build-native))
+	: # see #814977, work around it for now ...
+	ln -sf gcc$(pkg_ver) $(d_gnat)/$(PF)/bin/gcc$(pkg_ver)$(pkg_ver)
+endif
+
+ifneq (,$(filter $(build_type), build-native cross-build-native))
 	: # still ship the unversioned prefixed names in the gnat package.
 	for i in $(GNAT_TOOLS); do \
 	  ln -sf $(cmd_prefix)$$i$(pkg_ver) \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git



More information about the Reproducible-commits mailing list