diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-06-29 12:07:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-30 13:36:58 +0200 |
commit | 4f7f8a19e84978bb09752c978f257f5259f159bb (patch) | |
tree | d027375cebc0e923459ba6950202b8388d91f54c /scripts/Makefile.host | |
parent | 897c5b6722f5c9f1ff348f0b606cd30f1862ee75 (diff) | |
download | barebox-4f7f8a19e84978bb09752c978f257f5259f159bb.tar.gz barebox-4f7f8a19e84978bb09752c978f257f5259f159bb.tar.xz |
enable LFS support for host programs
This fixes building on an XFS partition on a 32 bit machine:
$ armmake -C ~/gsrc/barebox O=$PWD imx_defconfig
HOSTCC scripts/basic/fixdep
fixdep: error fstat'ing depfile: scripts/basic/.fixdep.d: Value too large for defined data type
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile.host')
-rw-r--r-- | scripts/Makefile.host | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index 133edfae5b..a89a0c5d43 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -85,7 +85,7 @@ hostcxx_flags = -Wp,-MD,$(depfile) $(__hostcxx_flags) # Create executable from a single .c file # host-csingle -> Executable quiet_cmd_host-csingle = HOSTCC $@ - cmd_host-csingle = $(HOSTCC) $(hostc_flags) -o $@ $< \ + cmd_host-csingle = $(HOSTCC) $(hostc_flags) $(HOSTLDFLAGS) -o $@ $< \ $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) $(host-csingle): $(obj)/%: $(src)/%.c FORCE $(call if_changed_dep,host-csingle) |