From f97abbaf4e80c68781e619bf245f923a659b0dde Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 4 Oct 2021 12:44:58 +0200 Subject: [PATCH] gcc 8 works too --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4d60792b..2d58de9a 100755 --- a/debian/rules +++ b/debian/rules @@ -83,7 +83,7 @@ export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath optimize=-lto # Cxx flags for building libcxx and libcxxabi LIBCXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) -ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 9 ; echo $$?),0) +ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 8 ; echo $$?),0) # Too old version of gcc. Force gcc 11 # Should be triggered only on bionic # https://reviews.llvm.org/D110338