ANDROID: HACK: firmware, LLVMLinux: fix EFI libstub with clang
Without any extra guidance, clang will generate libstub with either absolute or relative ELF relocations. Use the right combination of -fpic and -fno-pic on different files to avoid this. Change-Id: I59b052a14c8cda88fc4c3ba8bdb26c456f9316ef Signed-off-by:Greg Hackmann <ghackmann@google.com> Git-commit: 90387ea45956dd9f61d43babe2b3329ffe58037e Git-repo: https://android.googlesource.com/kernel/common/ [satyap@codeaurora.org: trivial merge conflict resolution] Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Loading
Please register or sign in to comment