diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rebar_port_compiler.erl | 7 | 
1 files changed, 6 insertions, 1 deletions
| 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"}      ]. | 
