[erlang-patches] Fix the erlc -MP flag

Henrik Nord <>
Tue Jul 10 15:01:13 CEST 2012


Thank you!

On 07/09/2012 08:58 PM, Richard Carlsson wrote:
> I posted this to erlang-bugs before, but got no response, so here's a 
> new attempt. This time, the patch also has a test case courtesy of Uwe 
> Dauernheim.
>
> Because of a copy-and-paste error in erlc.c, the -MP flag had the same 
> effect as -MG. As a workaround, you had to pass +makedep_phony to 
> enable the MP option. This patch makes -MP work as intended.
>
>     git fetch git://github.com/richcarl/otp.git fix-MP-compiler-flag
>
>
>   /Richard
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list