diff options
-rw-r--r-- | scripts/Kbuild.include | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 5fa7f16e12..5e7255db3a 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -129,11 +129,6 @@ cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC)) # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3)) -# cc-ldoption -# Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both) -cc-ldoption = $(call try-run,\ - $(CC) $(1) -nostdlib -xc /dev/null -o "$$TMP",$(1),$(2)) - # ld-option # Usage: LDFLAGS += $(call ld-option, -X) ld-option = $(call try-run,\ |