aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Fraser Tweedale <frase@frase.id.au>2014-05-22 20:10:06 +1000
committerGravatar David Bremner <david@tethera.net>2014-07-04 08:56:32 -0300
commit0e50854a7feb1feea24745ce0a87be4327803e21 (patch)
tree209ac60991e4dd60ebc9576b9cb231caef4e4085 /configure
parent6ef676aac3d1c954e894326924ea9f25b97cec95 (diff)
configure: use cc/c++ instead of gcc/g++
Some systems (e.g. FreeBSD 10) do not ship with the GNU Compiler Collection. Use generic cc/c++ instead of gcc/g++ (unless the CC/CXX environment variables are used).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 99ab74dc..9514d4d9 100755
--- a/configure
+++ b/configure
@@ -43,8 +43,8 @@ fi
# Set several defaults (optionally specified by the user in
# environment variables)
-CC=${CC:-gcc}
-CXX=${CXX:-g++}
+CC=${CC:-cc}
+CXX=${CXX:-c++}
CFLAGS=${CFLAGS:--O2}
CPPFLAGS=${CPPFLAGS:-}
CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}