[pkg-d-commits] [ldc] 01/01: Compile bootstrap-LDC without NEON on arm
Matthias Klumpp
mak at moszumanska.debian.org
Mon Apr 24 02:07:22 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 345862225c2d472a6ed1cb3968298d159e44addb
Author: Matthias Klumpp <mak at debian.org>
Date: Mon Apr 24 04:07:03 2017 +0200
Compile bootstrap-LDC without NEON on arm
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 80f5bdb..2006e6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,11 @@ CFLAGS += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)
LDC_BUILD_FLAGS = -DINCLUDE_INSTALL_DIR='/usr/lib/ldc/${DEB_HOST_MULTIARCH}/include/d'
+BOOTSTRAP_LDC_FLAGS = -DD_FLAGS=-w\;-relocation-model=pic
ifeq ($(DEB_HOST_ARCH),armhf)
LDC_BUILD_FLAGS += -DD_COMPILER_FLAGS=-mattr=-neon
+BOOTSTRAP_LDC_FLAGS += -DDMD_CXXFLAGS=-mattr=-neon -DLLVM_CXXFLAGS=-mattr=-neon
endif
BOOTSTRAP_LDC_DIR := $(CURDIR)/bootstrap
@@ -22,7 +24,7 @@ BOOTSTRAP_LDC_BUILD_DIR := $(BOOTSTRAP_LDC_DIR)/b
override_dh_auto_configure:
# Build the C++-only old compiler for bootstrapping
- dh_auto_configure -D$(BOOTSTRAP_LDC_DIR) -B$(BOOTSTRAP_LDC_BUILD_DIR) -- -DD_FLAGS=-w\;-relocation-model=pic
+ dh_auto_configure -D$(BOOTSTRAP_LDC_DIR) -B$(BOOTSTRAP_LDC_BUILD_DIR) -- $(BOOTSTRAP_LDC_FLAGS)
dh_auto_build -B$(BOOTSTRAP_LDC_BUILD_DIR)
# Configure the actual LDC version
--
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