Loading p/ghc/debian/changelog +10 −0 Original line number Diff line number Diff line ghc (8.4.3-5) UNRELEASED; urgency=medium * Switch to dh_auto_configure, making the correct triplet being passed to the build system, with also --target flag (this should hopefully make the configure more robust, and stop failing now that armhf runs on arm64 systems) - thanks waldi, jcristay for the help -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 20 Jul 2018 13:52:19 +0200 ghc (8.4.3-4) experimental; urgency=medium * merge with unstable 8.2.2-6 Loading p/ghc/debian/rules +5 −6 Original line number Diff line number Diff line Loading @@ -23,9 +23,10 @@ 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)) confflags += --target $(DEB_HOST_GNU_TYPE) --enable-unregisterised EXTRA_CONFIGURE_FLAGS += --enable-unregisterised BUILD_CROSS=YES else BUILD_CROSS=NO Loading @@ -34,7 +35,7 @@ endif ProjectVersion=$(shell cat VERSION) GHC=$(firstword $(shell bash -c "type -p ghc")) EXTRA_CONFIGURE_FLAGS=--with-ghc="$(GHC)" EXTRA_CONFIGURE_FLAGS +=--with-ghc="$(GHC)" DEB_HOOGLE_TXT_DIR = /usr/lib/ghc-doc/hoogle/ Loading Loading @@ -124,11 +125,9 @@ endif echo 'RANLIB_CMD = $(DEB_HOST_GNU_TYPE)-ranlib'>> mk/build.mk # We want verbose builds echo 'V=1' >> mk/build.mk ./configure $(confflags) --prefix=/usr \ dh_auto_configure -- \ $(EXTRA_CONFIGURE_FLAGS) \ --with-system-libffi \ --with-llc=llc-6.0 \ --with-opt=opt-6.0 --with-system-libffi override_dh_auto_build: dh_auto_build Loading Loading
p/ghc/debian/changelog +10 −0 Original line number Diff line number Diff line ghc (8.4.3-5) UNRELEASED; urgency=medium * Switch to dh_auto_configure, making the correct triplet being passed to the build system, with also --target flag (this should hopefully make the configure more robust, and stop failing now that armhf runs on arm64 systems) - thanks waldi, jcristay for the help -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 20 Jul 2018 13:52:19 +0200 ghc (8.4.3-4) experimental; urgency=medium * merge with unstable 8.2.2-6 Loading
p/ghc/debian/rules +5 −6 Original line number Diff line number Diff line Loading @@ -23,9 +23,10 @@ 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)) confflags += --target $(DEB_HOST_GNU_TYPE) --enable-unregisterised EXTRA_CONFIGURE_FLAGS += --enable-unregisterised BUILD_CROSS=YES else BUILD_CROSS=NO Loading @@ -34,7 +35,7 @@ endif ProjectVersion=$(shell cat VERSION) GHC=$(firstword $(shell bash -c "type -p ghc")) EXTRA_CONFIGURE_FLAGS=--with-ghc="$(GHC)" EXTRA_CONFIGURE_FLAGS +=--with-ghc="$(GHC)" DEB_HOOGLE_TXT_DIR = /usr/lib/ghc-doc/hoogle/ Loading Loading @@ -124,11 +125,9 @@ endif echo 'RANLIB_CMD = $(DEB_HOST_GNU_TYPE)-ranlib'>> mk/build.mk # We want verbose builds echo 'V=1' >> mk/build.mk ./configure $(confflags) --prefix=/usr \ dh_auto_configure -- \ $(EXTRA_CONFIGURE_FLAGS) \ --with-system-libffi \ --with-llc=llc-6.0 \ --with-opt=opt-6.0 --with-system-libffi override_dh_auto_build: dh_auto_build Loading