diff --git a/server/postgresql.mk b/server/postgresql.mk index 38affd63c71b221a83386e78aec3c890a0d1336d..3aacbf1f014ac869bd25abad532d280f16cc43c1 100644 --- a/server/postgresql.mk +++ b/server/postgresql.mk @@ -99,6 +99,12 @@ ifeq ($(DEB_HOST_ARCH),amd64) CFLAGS += -fno-omit-frame-pointer endif +# Work around an ICE bug in GCC 11.2.0, see +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 +ifneq ($(findstring $(DEB_HOST_ARCH), armel armhf),) + CFLAGS+= -DSTAP_SDT_ARG_CONSTRAINT=g +endif + ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_FLAGS += --with-systemd CONFIGURE_FLAGS += --with-selinux