Commit 57b45354 authored by Jonathan McDowell's avatar Jonathan McDowell

Don't hardcode the gcc tarball name (Closes: #916412)

parent 976ab55d
ghdl (0.35+git20181129+dfsg-3) UNRELEASED; urgency=medium
[ Matthias Klose ]
* Don't hardcode the gcc tarball name (Closes: #916412)
-- Jonathan McDowell <noodles@earth.li> Fri, 14 Dec 2018 08:29:24 +0000
ghdl (0.35+git20181129+dfsg-2) unstable; urgency=medium
* Update debian/copyright to cover additional source files
......@@ -234,7 +241,7 @@ ghdl (0.16-1) unstable; urgency=low
* No longer need fix_cf_files.sh (fixed upstream)
* Standards version bumped to 3.6.1.1
* Added lintian override to let me say "VHDL" in description synopsys
-- Wesley J. Landaker <wjl@icecavern.net> Fri, 21 Jan 2005 11:45:01 -0700
ghdl (0.14-2) unstable; urgency=low
......
......@@ -15,7 +15,7 @@ export PKG_VERSION := $(DEB_VENDOR) $(DEB_VERSION)
# These variables are used to find and unpack the gcc source
GCC_DIR := /usr/src/gcc-8
GCC_VER := 8
VER_GCC := 8.2.0-dfsg
GCC_TARBALL := $(notdir $(wildcard $(GCC_DIR)/gcc-*.tar.*))
# Get parallel option to parallelize the gcc build specifically (Ada builds
# are already parallelized by code included from debian_packaging-*.mk above).
......@@ -77,9 +77,10 @@ override_dh_auto_configure:
@echo Configuring with gcc backend
@echo ------------------------------------------------------------
# gcc unpack sequence cribbed from gcc-7-cross debian/rules
set -e; \
if [ -n "$(WITH_GCC)" ]; then \
cd $(BUILDDIR)/gcc; \
ln -sf ${GCC_DIR}/gcc-${VER_GCC}.tar.xz gcc-${VER_GCC}.tar.xz; \
ln -sf ${GCC_DIR}/$(GCC_TARBALL) $(GCC_TARBALL); \
cp -a ${GCC_DIR}/debian/ .; \
if [ -n "$$(grep -v '^\#' ${CURDIR}/debian/patches/gcc-${GCC_VER}/series)" ]; then \
QUILT_PATCHES=${CURDIR}/debian/patches/gcc-${GCC_VER} quilt push --quiltrc /dev/null -a; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment