]> Pileus Git - ~andy/linux/blobdiff - scripts/Kbuild.include
cpuset: remove unnecessary variable in cpuset_attach()
[~andy/linux] / scripts / Kbuild.include
index 978416dd31ca0efeacfd938e961b241aca7633af..547e15daf03dc86dbfa72818122bc4c61929edb0 100644 (file)
@@ -148,7 +148,7 @@ cc-ldoption = $(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)