From 094072441c870aa6a7e3493dfe4f555d129d04e8 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Thu, 31 Oct 2024 17:12:53 +0100 Subject: [PATCH] make: allow build on ubuntu 24.10 (#3311) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 29a84d5b066..87bb0313b25 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,9 @@ endif #expr_debug tag is required to enable the debug mode in expr GO_TAGS := netgo,osusergo,sqlite_omit_load_extension,expr_debug +# Allow building on ubuntu 24.10, see https://github.com/golang/go/issues/70023 +export CGO_LDFLAGS_ALLOW=-Wl,--(push|pop)-state.* + # this will be used by Go in the make target, some distributions require it export PKG_CONFIG_PATH:=/usr/local/lib/pkgconfig:$(PKG_CONFIG_PATH)