From 5ee59c377ab136ca68a8c634ffe38b0f39b3d1f8 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Mon, 12 Jul 2010 08:36:11 -0600 Subject: [PATCH] Defaulting CC->cc and CXX->c++ for better cross platform support --- src/rebar_port_compiler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index ae883e7..de3950e 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -311,8 +311,8 @@ os_env() -> default_env() -> [ - {"CC", "gcc"}, - {"CXX", "g++"}, + {"CC", "cc"}, + {"CXX", "c++"}, {"ERL_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include), " -I", filename:join(erts_dir(), include), " "])},