summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-05-28 08:37:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-05-28 08:37:19 -0700
commit24cedeb24492e76bb8f75c8532c76fe700ff4775 (patch)
treee829dbbc4aa9acfb18713d6bf90de86ccd6a6a10 /scripts/Kbuild.include
parent2f6ef8a30b780f020b67bf1be17e1949881f8b02 (diff)
parent780ec0d562724e68ed866498dedc7c2ef229609f (diff)
Merge "Merge android-4.4.180 (71cb827) into msm-4.4"
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)