Permalink
Browse files

Fixing up the port_envs.

  • Loading branch information...
1 parent 0bd0f14 commit 668d6460a70c30eb625aede011ffc9542b4d4642 @archaelus committed Mar 4, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 rebar.config
View
@@ -1,7 +1,9 @@
-{port_envs, [{"CFLAGS", "$CFLAGS -march=core2 -mmmx -msse3 -w -pipe -mmacosx-version-min=10.6 -I /Users/nem/usr/include"},
- {"LDFLAGS", "$LDFLAGS -levent -L/Users/nem/usr/lib"},
- {"DRV_LDFLAGS", ""},
- {"CC", "/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2"}]}.
+{port_envs, [{"darwin", "CFLAGS", "$CFLAGS -march=core2 -mmmx -msse3 -w -pipe -mmacosx-version-min=10.6"}
+ ,{"darwin", "LDFLAGS", "$LDFLAGS -levent -L/Users/nem/usr/lib"}
+ ,{"darwin", "DRV_LDFLAGS", ""}
+ ,{"darwin", "CC", "/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2"}
+ ,{"linux", "LDFLAGS", "$LDFLAGS -levent"}
+ ]}.
{so_name, "bin/enet_tap"}.
{erl_opts, [debug_info]}.
{erl_first_files, [enet_codec]}.

0 comments on commit 668d646

Please sign in to comment.