Commit 9c398afd authored by Johannes Berg's avatar Johannes Berg Committed by Sasha Levin
Browse files

um: allow not setting extra rpaths in the linux binary



[ Upstream commit 386093c6 ]

There doesn't seem to be any reason for the rpath being set in
the binaries, at on systems that I tested on. On the other hand,
setting rpath is actually harming binaries in some cases, e.g.
if using nix-based compilation environments where /lib & /lib64
are not part of the actual environment.

Add a new Kconfig option (under EXPERT, for less user confusion)
that allows disabling the rpath additions.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Stable-dep-of: 846cfbee ("um: Fix adding '-no-pie' for clang")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c9c3cc6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment