Browse files

fix build on 32-bit

  • Loading branch information...
1 parent 02912db commit 81e37b4639c739062431c2aa153cceb9bead7755 @argv0 argv0 committed Aug 14, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 rebar.config
View
7 rebar.config
@@ -3,7 +3,6 @@
{port_sources, ["c_src/*.cpp"]}.
{port_envs, [
- {"CFLAGS", "$CFLAGS -fPIC -std=c++0x"},
- {"DRV_CFLAGS", "$DRV_CFLAGS"},
- {"DRV_LDFLAGS", "$DRV_LDFLAGS -lstdc++"}
- ]}.
+ {"i686.*-linux.*", "CXXFLAGS", "-march=i686"},
+ {".*-linux.*", "LDFLAGS", "-lstdc++"}
+]}.

0 comments on commit 81e37b4

Please sign in to comment.