diff options
author | 2024-10-16 14:12:37 -0700 | |
---|---|---|
committer | 2024-10-17 10:33:31 +0200 | |
commit | 89350defd1f0eb5a58a7e1155d9e322080f0bf15 (patch) | |
tree | 8e36f72c4e94327b8d0c75805510465827a6c966 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | um: Switch to 4 level page tables on 64 bit (diff) | |
download | wireguard-linux-89350defd1f0eb5a58a7e1155d9e322080f0bf15.tar.xz wireguard-linux-89350defd1f0eb5a58a7e1155d9e322080f0bf15.zip |
um: Fix passing '-n' to linker for stub_exe
When building stub_exe with clang, there is an error because '-n' is not
a recognized flag by the clang driver (which is being used to invoke the
linker):
clang: error: unknown argument: '-n'
'-n' should be passed along to the linker, as it is the short flag for
'--nmagic', so prefix it with '-Wl,'.
Fixes: 32e8eaf263d9 ("um: use execveat to create userspace MMs")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20241016-uml-fix-stub_exe-clang-v1-1-3d6381dc5a78@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions