Displaying 2 results from an estimated 2 matches for "d1c78ce6".
2020 Jul 25
0
[klibc:master] Kbuild: Fix the compiler execstack option
...g some time ago, so I don't know how I ended up
committing the broken version.)
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
scripts/Kbuild.klibc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index a9a2a40e..d1c78ce6 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -119,7 +119,7 @@ KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \
$(KLIBCARCHINCFLAGS)
# compiler/assembler option for whether we want an executable stack
-KLIBCSTACKFLAGS := -Wa,$(if $(filter n,$(KLIBCEXECSTACK)),no)exec...
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
...= $(shell $(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,...