Permalink
Browse files

Merge pull request #6 from tuncer/rebar-cleanup

Rebar cleanup
  • Loading branch information...
2 parents 9e86a2e + b6cf03d commit a492bb3b5eca1b3a6349ed883081592a0fa76e98 @dizzyd dizzyd committed Sep 15, 2011
Showing with 4 additions and 17 deletions.
  1. BIN rebar
  2. +4 −17 rebar.config
View
Binary file not shown.
View
@@ -2,20 +2,7 @@
{so_name, "ebloom_nifs.so"}.
{port_envs, [
- %% Make sure to link -lstdc++ on linux or solaris
- {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly)", "LDFLAGS", "$LDFLAGS -lstdc++"},
-
- %% Solaris specific flags
- {"solaris.*-64$", "CXXFLAGS", "-D_REENTRANT -m64"},
- {"solaris.*-64$", "LDFLAGS", "$LDFLAGS -m64"},
-
- %% OS X Leopard flags for 64-bit
- {"darwin9.*-64$", "CXXFLAGS", "-m64"},
- {"darwin9.*-64$", "LDFLAGS", "-arch x86_64 -lstdc++"},
-
- %% OS X Snow Leopard flags for 32-bit
- {"darwin10.*-32$", "CXXFLAGS", "-m32"},
- {"darwin10.*-32$", "LDFLAGS", "-arch i386"}
- ]}.
-
-
+ %% Make sure to link -lstdc++
+ {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+ "LDFLAGS", "$LDFLAGS -lstdc++"}
+ ]}.

0 comments on commit a492bb3

Please sign in to comment.