linux/arch/um
Johannes Berg 9c398afd49 um: allow not setting extra rpaths in the linux binary
[ Upstream commit 386093c68b ]

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: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Stable-dep-of: 846cfbeed0 ("um: Fix adding '-no-pie' for clang")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-15 10:48:18 -04:00
..
configs um: Fix hostaudio build errors 2023-09-19 12:20:20 +02:00
drivers um: net: Fix return type of uml_net_start_xmit() 2024-02-23 08:42:13 +01:00
include um: Fix naming clash between UML and scheduler 2024-02-23 08:42:13 +01:00
kernel um: Fix naming clash between UML and scheduler 2024-02-23 08:42:13 +01:00
os-Linux um: Don't use vfprintf() for os_info() 2024-02-23 08:42:13 +01:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig um: allow not setting extra rpaths in the linux binary 2024-03-15 10:48:18 -04:00
Kconfig.debug um: Disable CONFIG_GCOV with MODULES 2021-05-22 11:40:53 +02:00
Makefile um: allow not setting extra rpaths in the linux binary 2024-03-15 10:48:18 -04:00
Makefile-os-Linux
Makefile-skas