Merge pull request #305 from liskin/linux-multiarch-64

Fix compiler invocation on multiarch Linux
This commit is contained in:
Fred Hebert 2015-01-30 11:35:13 -05:00
commit fffc745e11

View file

@ -604,6 +604,11 @@ default_env() ->
{"solaris.*-64$", "CXXFLAGS", "-D_REENTRANT -m64 $CXXFLAGS"},
{"solaris.*-64$", "LDFLAGS", "-m64 $LDFLAGS"},
%% Linux specific flags for multiarch
{"linux.*-64$", "CFLAGS", "-m64 $CFLAGS"},
{"linux.*-64$", "CXXFLAGS", "-m64 $CXXFLAGS"},
{"linux.*-64$", "LDFLAGS", "-m64 $LDFLAGS"},
%% OS X Leopard flags for 64-bit
{"darwin9.*-64$", "CFLAGS", "-m64 $CFLAGS"},
{"darwin9.*-64$", "CXXFLAGS", "-m64 $CXXFLAGS"},