summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-06-02 14:47:26 -0700
committerLinux Build Service Account <lnxbuild@localhost>2019-06-02 14:47:26 -0700
commitf3a849fc16f01883b947caeb8939db061558f2fe (patch)
tree6bc5cdd4bbb90a80e73d76817436ef8d98918420 /scripts/Kbuild.include
parentc7259077e1846a2dea02d7d9dc9e51f5d387772e (diff)
parent77b2a51180290d8417679f03b1a3c2c266149741 (diff)
Merge 77b2a51180290d8417679f03b1a3c2c266149741 on remote branch
Change-Id: I62b0621ecd3c67dea96336559aa7598b0ccb50c7
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 92d68c355fd7..374d5460caa5 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -165,9 +165,7 @@ cc-ldoption = $(call try-run,\
# ld-option
# Usage: LDFLAGS += $(call ld-option, -X)
-ld-option = $(call try-run,\
- $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -x c /dev/null -c -o "$$TMPO"; \
- $(LD) $(LDFLAGS) $(1) "$$TMPO" -o "$$TMP",$(1),$(2))
+ld-option = $(call try-run, $(LD) $(LDFLAGS) $(1) -v,$(1),$(2))
# ar-option
# Usage: KBUILD_ARFLAGS := $(call ar-option,D)