summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-11-19 22:18:18 +0000
committerEd Maste <emaste@FreeBSD.org>2018-11-19 22:18:18 +0000
commit06cf1308e4eb59171be3ece74479487147670fc6 (patch)
treeb456fc7ff52faf1d814fb77bb9acdd47a6ba89bd /rescue
parentc7a20141cc84656f4f146120c5c3ad84a63a2815 (diff)
downloadsrc-test-06cf1308e4eb59171be3ece74479487147670fc6.tar.gz
src-test-06cf1308e4eb59171be3ece74479487147670fc6.zip
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
Notes
Notes: svn path=/head/; revision=340652
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 7393323a2f842..6a1f7d9c768e0 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