Use the arch specific version of OpenJDK 8, otherwise the build will fail
on non-amd64 architectures.
Markus Koschany
5 years ago
5 | 5 | TAR := ../$(NAME)_$(VERSION).orig.tar.gz |
6 | 6 | TARDFSG := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz |
7 | 7 | |
8 | export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 | |
8 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) | |
9 | export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-$(DEB_HOST_ARCH) | |
9 | 10 | export PATH:=$(JAVA_HOME)/bin:$(PATH) |
10 | 11 | |
11 | 12 | # NOTE: jutils is explicitly included here (without a depends in our control |