From: Casey Bodley Date: Wed, 6 Apr 2022 21:54:19 +0000 (-0700) Subject: debian: pin gcc-11 X-Git-Tag: v18.0.0~366^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=79d7ae7195c5086bdff49aa0f25318d7ce51472d;p=ceph.git debian: pin gcc-11 Signed-off-by: Casey Bodley --- diff --git a/debian/rules b/debian/rules index a0bc52c274bb..796804fa9b70 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,7 @@ export DH_VERBOSE=1 export DESTDIR=$(CURDIR)/debian/tmp export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +extraopts += -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 ifneq (,$(findstring WITH_STATIC_LIBSTDCXX,$(CEPH_EXTRA_CMAKE_ARGS))) # dh_auto_build sets LDFLAGS with `dpkg-buildflags --get LDFLAGS` on ubuntu, # which makes the application aborts when the shared library throws