Build packages with gcc-8

This commit is contained in:
Mike Ellery
2019-07-08 12:36:50 -07:00
parent 7fa9b91d23
commit 014ec021bb
4 changed files with 9 additions and 4 deletions

View File

@@ -40,6 +40,8 @@ CHANGELOG
# PATH must be preserved for our more modern cmake in /opt/local
# TODO : consider allowing lintian to run in future ?
export DH_BUILD_DDEBS=1
export CC=gcc-8
export CXX=g++-8
debuild --no-lintian --preserve-envvar PATH --preserve-env -us -uc
rc=$?; if [[ $rc != 0 ]]; then
error "error building dpkg"

View File

@@ -34,7 +34,7 @@ git archive --format tar.gz --prefix rippled/ -o ../rpmbuild/SOURCES/rippled.tar
cd ..
tar -zc --exclude-vcs -f ./rpmbuild/SOURCES/validator-keys.tar.gz validator-keys-tool/
source /opt/rh/devtoolset-7/enable
source /opt/rh/devtoolset-8/enable
rpmbuild --define "_topdir ${PWD}/rpmbuild" -ba rippled.spec
rc=$?; if [[ $rc != 0 ]]; then