[gcc-7] 264/354: * Don't build the gc enabled libobjc for cross compilers. Closes: #870895.

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:51:05 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 96c5d941e352decfd92ce701485ae884802aed65
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Sun Aug 6 14:37:48 2017 +0000

      * Don't build the gc enabled libobjc for cross compilers. Closes: #870895.
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9614 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog  | 6 ++++++
 debian/rules.defs | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 166688f..6fffb59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gcc-7 (7.1.0-13) UNRELEASED; urgency=medium
+
+  * Don't build the gc enabled libobjc for cross compilers. Closes: #870895.
+
+ -- Matthias Klose <doko at debian.org>  Sun, 06 Aug 2017 10:35:00 -0400
+
 gcc-7 (7.1.0-12) unstable; urgency=medium
 
   * GCC 7.2 release candidate 1.
diff --git a/debian/rules.defs b/debian/rules.defs
index b77eeae..9390ce3 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -989,7 +989,9 @@ ifeq ($(with_objc),yes)
   ifneq (,$(findstring $(DEB_TARGET_GNU_SYSTEM),$(libgc_no_systems)))
     with_objc_gc := disabled for system $(DEB_TARGET_GNU_SYSTEM)
   endif
-
+  ifneq (,$(findstring build-cross, $(build_type)))
+    with_objc_gc := disabled for cross builds
+  endif
   # Build all packages needed for Objective-C development
   ifeq ($(with_dev),yes)
     with_objcdev := yes

-- 
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