Force build with gcc-8 to fix segfaults in armhf build

This commit is contained in:
Pirate Praveen 2018-07-18 16:02:22 +05:30
parent a4b72f472f
commit cf109cbc12
2 changed files with 3 additions and 1 deletions

2
debian/control vendored
View File

@ -5,7 +5,7 @@ Maintainer: Russell Sim <russell.sim@gmail.com>
Build-Depends: debhelper (>= 11~),
python-minimal (>= 2.4.0), pkg-config,
cmake, libz-dev, libmbedtls-dev,
libssh2-1-dev, libhttp-parser-dev, libkrb5-dev
libssh2-1-dev, libhttp-parser-dev, libkrb5-dev, gcc-8
Standards-Version: 4.1.4
Homepage: https://libgit2.github.com/
Vcs-Git: https://salsa.debian.org/debian/libgit2.git

2
debian/rules vendored
View File

@ -13,6 +13,8 @@ TEST_TMPDIR := $(CURDIR)/tmp-test
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# build with gcc 7 segafaults in armhf
export CC=gcc-8
override_dh_auto_configure:
dh_auto_configure --builddirectory=build-debian-release -- \