From 1ef230262ba223aff467edad1c3fceee69868d42 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 1 Aug 2011 16:36:35 +0200 Subject: Extend port compiler default env for Darwin 11 32-bit --- src/rebar_port_compiler.erl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index b9c2ea4..c2430e7 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -399,7 +399,12 @@ default_env() -> %% OS X Snow Leopard flags for 32-bit {"darwin10.*-32", "CFLAGS", "-m32 $CFLAGS"}, {"darwin10.*-32", "CXXFLAGS", "-m32 $CXXFLAGS"}, - {"darwin10.*-32", "LDFLAGS", "-arch i386 $LDFLAGS"} + {"darwin10.*-32", "LDFLAGS", "-arch i386 $LDFLAGS"}, + + %% OS X Lion flags for 32-bit + {"darwin11.*-32", "CFLAGS", "-m32 $CFLAGS"}, + {"darwin11.*-32", "CXXFLAGS", "-m32 $CXXFLAGS"}, + {"darwin11.*-32", "LDFLAGS", "-arch i386 $LDFLAGS"} ]. -- cgit v1.1