diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2018-06-23 15:34:10 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-06-23 17:18:59 +0200 |
commit | d33f41a0fc31677c723eeb731a4f7dd5dea0298d (patch) | |
tree | d90fb6bb52284f4fc82ddae9ed142d3c635f8705 | |
parent | f5b8f82346aa13ee8bf47a759ffc7c18390fef4f (diff) | |
download | buildroot-d33f41a0fc31677c723eeb731a4f7dd5dea0298d.tar.gz buildroot-d33f41a0fc31677c723eeb731a4f7dd5dea0298d.zip |
package/erlang: fix host build with host-pcre package
https://git.buildroot.net/buildroot/commit/?id=bd12cd7d4633200ce01663df6528fd061d64b784
added an incompletely rebased patch to fix host-erlang when pcre is
available on the host.
Fixes
http://autobuild.buildroot.net/results/484/484a54b005764958073674bf07f6a760bfedb071/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch b/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch index 2c976f539e..7a6e469dff 100644 --- a/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch +++ b/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch @@ -35,3 +35,12 @@ index 7145824..d079487 100644 $(OBJDIR)/beam_emu.S: beam/beam_emu.c $(V_EMU_CC) -S -fverbose-asm $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@ +@@ -765,7 +765,7 @@ + # General targets + # + $(OBJDIR)/%.o: beam/%.c +- $(V_CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@ ++ $(V_CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@ + + $(OBJDIR)/%.o: $(TARGET)/%.c + $(V_CC) $(CFLAGS) $(INCLUDES) -Idrivers/common -c $< -o $@ |