head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.19.22.54.07; author mef; state Exp; branches; next ; commitid xxHEnoLGr5XtKhWG; desc @@ 1.1 log @(lang/chicken6) Fix RELRO issue, the same adhoc way as lang/chicken5. @ text @$NetBSD$ Honor LDFLAGS variables of pkgsrc (framework) --- Makefile.bsd.orig 2026-05-06 17:57:31.702953931 +0900 +++ Makefile.bsd 2026-09-20 07:20:05.315349719 +0900 @@@@ -52,6 +52,8 @@@@ LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,-sona LIBRARIES = -lm -lpthread NEEDS_RELINKING = yes USES_SONAME = yes +# honor pkgsrc LDFLAG +LINKER_OPTIONS += @@LDFLAGS@@ # special files @