[Git][haskell-team/DHG_packages][master] ghc: patch from John Paul Adrian Glaubitz to set --host and --build for...

Clint Adams gitlab at salsa.debian.org
Mon Jul 29 01:02:48 BST 2019



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
d85dbd85 by Clint Adams at 2019-07-29T00:02:25Z
ghc: patch from John Paul Adrian Glaubitz to set --host and --build for cross-builds.  closes: #933306.

- - - - -


2 changed files:

- p/ghc/debian/changelog
- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ghc (8.6.5+dfsg1-3) UNRELEASED; urgency=medium
+
+  * Patch from John Paul Adrian Glaubitz to set --host and --build for
+    cross-builds.  closes: #933306.
+
+ -- Clint Adams <clint at debian.org>  Sun, 28 Jul 2019 20:02:11 -0400
+
 ghc (8.6.5+dfsg1-2) unstable; urgency=medium
 
   [ Ilias Tsitsimpis ]


=====================================
p/ghc/debian/rules
=====================================
@@ -23,12 +23,12 @@ export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 export DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
-EXTRA_CONFIGURE_FLAGS += --target $(DEB_HOST_GNU_TYPE)
 # We're cross-building if DEB_BUILD_GNU_TYPE != DEB_HOST_GNU_TYPE
 ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-  EXTRA_CONFIGURE_FLAGS += --enable-unregisterised
+  EXTRA_CONFIGURE_FLAGS += --host $(DEB_BUILD_GNU_TYPE) --build $(DEB_BUILD_GNU_TYPE) --target $(DEB_HOST_GNU_TYPE) --enable-unregisterised
   BUILD_CROSS=YES
 else
+  EXTRA_CONFIGURE_FLAGS += --target $(DEB_HOST_GNU_TYPE)
   BUILD_CROSS=NO
 endif
 



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/d85dbd8534f3afa1a5559fbc5042122a50b5e030

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/d85dbd8534f3afa1a5559fbc5042122a50b5e030
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190729/967ef366/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list