Skip to contentSkip to conversation

package/erlang: fix host build with host-pcre package

PATCH New Bernd Kuhls 2 participants 2 messages Jun 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 .../0002-erts-emulator-reorder-inclued-headers-paths.patch       | 9 +++++++++
 1 file changed, 9 insertions(+)
package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch +9 -0
index 2c976f539e..7a6e469dff 100644
@@ -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 $@
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/erlang: fix host build with host-pcre package

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard