summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-08-01 16:36:35 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-08-01 16:36:35 +0200
commit1ef230262ba223aff467edad1c3fceee69868d42 (patch)
tree9077ce2a2e278e500529787f4ba2e36abd0995fa
parentade0ce21a6060ad9b9ef28146a4726d3fd245d82 (diff)
Extend port compiler default env for Darwin 11 32-bit
-rw-r--r--src/rebar_port_compiler.erl7
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"}
].