projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-3.10' of git://linux-nfs.org/~bfields/linux
[cascardo/linux.git]
/
scripts
/
Kbuild.include
diff --git
a/scripts/Kbuild.include
b/scripts/Kbuild.include
index
978416d
..
547e15d
100644
(file)
--- a/
scripts/Kbuild.include
+++ b/
scripts/Kbuild.include
@@
-148,7
+148,7
@@
cc-ldoption = $(call try-run,\
# ld-option
# Usage: LDFLAGS += $(call ld-option, -X)
ld-option = $(call try-run,\
# ld-option
# Usage: LDFLAGS += $(call ld-option, -X)
ld-option = $(call try-run,\
- $(CC) /dev/null -c -o "$$TMPO" ; $(LD) $(1) "$$TMPO" -o "$$TMP",$(1),$(2))
+ $(CC)
-x c
/dev/null -c -o "$$TMPO" ; $(LD) $(1) "$$TMPO" -o "$$TMP",$(1),$(2))
# ar-option
# Usage: KBUILD_ARFLAGS := $(call ar-option,D)
# ar-option
# Usage: KBUILD_ARFLAGS := $(call ar-option,D)