summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-06-02 14:27:55 -0700
committerLinux Build Service Account <lnxbuild@localhost>2019-06-02 14:27:55 -0700
commit4d234d563ef0d5fdbb768f4a3a124a5b8bb4ce55 (patch)
tree6bc5cdd4bbb90a80e73d76817436ef8d98918420 /scripts/Kbuild.include
parent8b26127e89f84dbc4e99bdee480b602a62182839 (diff)
parent77b2a51180290d8417679f03b1a3c2c266149741 (diff)
Merge 77b2a51180290d8417679f03b1a3c2c266149741 on remote branch
Change-Id: I1c04bb9bdc40971247a3df6c9155395f9c5733aa
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)