Displaying 1 result from an estimated 1 matches for "9cf4b2d9".
2018 Jun 06
2
[PATCH] kbuild: add -ffreestanding to required flags
...clang versions need the '-ffreestanding' flag because new changes
convert
system calls to their unlocked versions, which don't exist in the kernel
library.
Signed-off-by: Bill Wendling <morbo at google.com>
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index f500d535..9cf4b2d9 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -67,7 +67,8 @@ include $(srctree)/scripts/Kbuild.include
#
---------------------------------------------------------------------------
KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \
- $(call cc-...