projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] uml: fix dynamic linking on some 64-bit distros
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
um
/
Makefile-x86_64
diff --git
a/arch/um/Makefile-x86_64
b/arch/um/Makefile-x86_64
index 4f118d5cc2ee177c381b3b3d2522071f76025498..38df311e75dc49f672e95ed22fdc9d7f7447259d 100644
(file)
--- a/
arch/um/Makefile-x86_64
+++ b/
arch/um/Makefile-x86_64
@@
-12,3
+12,7
@@
CHECKFLAGS += -m64
ELF_ARCH := i386:x86-64
ELF_FORMAT := elf64-x86-64
+
+# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.
+
+LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64