[pkg-d-commits] [gir-to-d] 01/01: Use shared dlang flags d/rules snippet

Matthias Klumpp mak at moszumanska.debian.org
Thu Dec 14 18:29:12 UTC 2017


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

mak pushed a commit to branch master
in repository gir-to-d.

commit 4711fe5ebc8e7568d6e8eacb9c12d1017c12b96d
Author: Matthias Klumpp <mak at debian.org>
Date:   Thu Dec 14 19:14:51 2017 +0100

    Use shared dlang flags d/rules snippet
---
 debian/control | 2 +-
 debian/rules   | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 3d695ea..c506d3a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian D Language Group <pkg-d-devel at lists.alioth.debian.org>
 Uploaders: Matthias Klumpp <mak at debian.org>
 Build-Depends: debhelper (>= 10.4),
-               ldc,
+               dh-dlang,
                meson,
                pkg-config
 Standards-Version: 4.1.1
diff --git a/debian/rules b/debian/rules
index fc2aeb4..01987c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,7 @@
 # -*- makefile -*-
 #export DH_VERBOSE=1
 
-DFLAGS=-O -g -release -wi
-ifeq ($(DEB_HOST_ARCH),armhf)
-	DFLAGS += -mattr=-neon
-endif
-export DFLAGS
+include /usr/share/dh-dlang/dlang-flags.mk
 
 %:
 	dh $@ --parallel --buildsystem=meson

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/gir-to-d.git



More information about the pkg-d-commits mailing list