[erlang-patches] FreeBSD PCRE Bugfix Re: [erlang-questions] FreeBSD patches
Kenji Rikitake
kenji.rikitake@REDACTED
Fri Sep 30 08:10:30 CEST 2011
The CC option sequence change was for correctly linking the PCRE
library, I remember. This has been around for at least for a few years
and I suggest including this to R15 will really help.
See also:
https://github.com/jj1bdx/otp/commit/d362e677b5bd75f1aae7798f3b1b923d33cb0dc0
http://erlang.2086793.n4.nabble.com/Make-Erlang-compile-on-recent-FreeBSD-releases-long-td2119832.html
Kenji Rikitake
++> Raimo Niskanen <raimo+erlang-questions@REDACTED> [2011-09-16 11:51:50 +0200]:
> # cat files/patch-erts-emulator-Makefile.in
>
> $FreeBSD: ports/lang/erlang/files/patch-erts-emulator-Makefile.in,v 1.3 2008/11/05 23:32:22 olgeni Exp $
>
> --- erts/emulator/Makefile.in.orig
> +++ erts/emulator/Makefile.in
> @@ -544,7 +546,7 @@
> endif
>
> $(OBJDIR)/%.o: beam/%.c
> - $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
> + $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
>
> else
More information about the erlang-patches
mailing list