[openjdk-7-jre-dcevm] 05/08: Use dpkg-buildflags for providing all hardening build flags.

Markus Koschany apo-guest at moszumanska.debian.org
Sat Jan 9 17:21:00 UTC 2016


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

apo-guest pushed a commit to branch master
in repository openjdk-7-jre-dcevm.

commit adfb2d153ffcb9c4ca76aa5ee01889c0037d3ab8
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jan 9 17:32:00 2016 +0100

    Use dpkg-buildflags for providing all hardening build flags.
---
 debian/rules | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1715b2b..924bacb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,12 +20,13 @@ JAVA_HOME  = /usr/lib/jvm/java-7-openjdk-$(DEB_HOST_ARCH)
 	dh $@
 
 override_dh_auto_build:
-	cd make && make ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) \
-	                HOTSPOT_BUILD_JOBS=2 \
-	                ALT_BOOTDIR=$(JAVA_HOME) \
-	                OPENJDK=true \
-	                DEBUG_BINARIES=true \
-	                HOTSPOT_BUILD_VERSION=dcevm-full
+	cd make && make $(shell dpkg-buildflags --export=configure) \
+		ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) \
+		HOTSPOT_BUILD_JOBS=2 \
+		ALT_BOOTDIR=$(JAVA_HOME) \
+		OPENJDK=true \
+		DEBUG_BINARIES=true \
+		HOTSPOT_BUILD_VERSION=dcevm-full
 
 override_dh_install:
 	dh_install -p$(PACKAGE) \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-7-jre-dcevm.git



More information about the pkg-java-commits mailing list