Displaying 2 results from an estimated 2 matches for "ce646212".
Did you mean:
7e646212
2020 Jul 25
0
[klibc:master] Kbuild: Add "-fcommon" for clang builds
...ors because of
duplicate symbols in the BSS section.
Signed-off-by: Bill Wendling <morbo at google.com>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
scripts/Kbuild.klibc | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index ce646212..82c74ea7 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -70,6 +70,7 @@ KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \
$(call cc-option, -fwrapv, ) \
$(call cc-option, -fno-PIE, ) \
$(call cc-option...
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
...$(CC) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc)
+
# cc-version
# Usage gcc-ver := $(call cc-version)
cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index d1c78ce6..ce646212 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -69,6 +69,7 @@ include $(srctree)/scripts/Kbuild.include
KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \
$(call cc-option, -fwrapv, ) \
$(call cc-option, -fno-PIE, ) \
+...