Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  FreeBSD PCRE Bugfix FreeBSD patches

jj1bdx
Posted: Fri Sep 30, 2011 6:10 am Reply with quote
User Joined: 11 Sep 2008 Posts: 92
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@erix.ericsson.se> [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

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum