[pkg-d-commits] [ldc] 01/03: Always switch to delf-bootstrap if no system D compiler was found
Matthias Klumpp
mak at moszumanska.debian.org
Mon May 22 19:40:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository ldc.
commit 647fd42f2e90aa5766edca96a082a7f3af9d9cf8
Author: Matthias Klumpp <mak at debian.org>
Date: Mon May 22 21:27:43 2017 +0200
Always switch to delf-bootstrap if no system D compiler was found
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index 8af1395..2fb3598 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@
# "ldc" dependency in d/control or use the stage1
# build profile.
BOOTSTRAP = yes
+ifneq (,$(wildcard /usr/bin/ldmd2))
+ # if there is no LDC, we have to bootstrap
+ BOOTSTRAP = yes
+endif
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list