From 275900a775c1e04205effa1890f380ee2479b5d3 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 2 Jun 2024 15:54:03 +0000 Subject: [PATCH] Due to growth we can't allow -fret-clean behaviour in distrib/special, so use COPTS+=-fno-ret-clean --- distrib/special/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrib/special/Makefile.inc b/distrib/special/Makefile.inc index 99547e82a67..83835578de9 100644 --- a/distrib/special/Makefile.inc +++ b/distrib/special/Makefile.inc @@ -4,7 +4,7 @@ COPTS+=-Oz -fno-stack-protector COPTS+=-fno-unwind-tables -fno-asynchronous-unwind-tables .if ${MACHINE} == "amd64" -COPTS+=-fcf-protection=none +COPTS+=-fcf-protection=none -fno-ret-clean .endif .if ${MACHINE} == "arm64" COPTS+=-mbranch-protection=none -- 2.20.1