From 06cf1308e4eb59171be3ece74479487147670fc6 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 19 Nov 2018 22:18:18 +0000 Subject: [PATCH] rescue: set NO_SHARED in Makefile The rescue binary is built statically via the Makefile generated by crunchgen, but that does not trigger other shared/static logic in bsd.prog.mk - in particular disabling retpolineplt with static linking. PR: 233336 Reported by: Charlie Li Sponsored by: The FreeBSD Foundation --- rescue/rescue/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 7393323a2f84..6a1f7d9c768e 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -6,6 +6,7 @@ PACKAGE=rescue MAN= MK_SSP= no +NO_SHARED= yes PROG= rescue BINDIR?=/rescue