diff options
author | Andrey Panov <rockford@yandex.ru> | 2017-05-11 20:54:15 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-17 08:18:20 +0200 |
commit | 333ff7b1e4c444df565c3e4bbec51da27add0076 (patch) | |
tree | 9610aa98b2fa66e56cc5eec2375fc725d84d9eab /scripts | |
parent | 0d86982d3dbcde7ca958fffe3bc57850bc7f43d8 (diff) | |
download | barebox-333ff7b1e4c444df565c3e4bbec51da27add0076.tar.gz barebox-333ff7b1e4c444df565c3e4bbec51da27add0076.tar.xz |
Fix linking with new ld, based on u-boot
U-boot commit info:
http://git.denx.de/?p=u-boot.git;a=commit;h=e391b1e64b0bd65709a28a4764afe4f32d408243
Signed-off-by: Andrey Panov <rockford@yandex.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index c7faf67a2b..310dcdc941 100644 --- 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,\ - $(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) |