diff --git a/net/dt/Makefile b/net/dt/Makefile index fe84e164879..7581f893416 100644 --- a/net/dt/Makefile +++ b/net/dt/Makefile @@ -18,6 +18,11 @@ PERMIT_PACKAGE = Yes MODULES = lang/go +# disable https://go.dev/doc/go1.23#linker to unbreak with go-1.23. +# remove once upstream unhibernates and updates the outdated x/net +# or once we can finally patch go ports. +MODGO_LDFLAGS += -checklinkname=0 + post-extract: rm -rf ${WRKSRC}/vendor diff --git a/net/headscale/Makefile b/net/headscale/Makefile index 4c553e9e8bd..240a0d9dfaf 100644 --- a/net/headscale/Makefile +++ b/net/headscale/Makefile @@ -24,6 +24,10 @@ MODULES = lang/go MODGO_LDFLAGS += -X ${MODGO_MODNAME}/cmd/headscale/cli.Version=$\ ${MODGO_VERSION:S/v//} +# disable https://go.dev/doc/go1.23#linker to unbreak with go-1.23. +# XXX check if this is still needed in future updates +MODGO_LDFLAGS += -checklinkname=0 + # for patches to apply WRKDIST = ${WRKSRC} diff --git a/www/gotosocial/Makefile b/www/gotosocial/Makefile index 9f42ec3ab2f..9d24e2d9031 100644 --- a/www/gotosocial/Makefile +++ b/www/gotosocial/Makefile @@ -35,7 +35,7 @@ MODGO_FLAGS += -mod=mod # remove either if codeberg.org/gruf/go-fastcopy is fixed, or "existing # usages of //go:linkname found in a large open-source code corpus # remain supported" is extended. -#MODGO_LDFLAGS += -checklinkname=0 +MODGO_LDFLAGS += -checklinkname=0 TEST_ENV += GTS_DB_ADDRESS=":memory:" \ GTS_DB_TYPE="sqlite"