From c44c139b937d6ca52b05f66a6988376045db8447 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 30 Oct 2024 23:21:51 +0100 Subject: [PATCH] make: allow build on ubuntu 24.10 --- 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)