diff options
author | Fraser Tweedale <frase@frase.id.au> | 2014-05-22 20:10:06 +1000 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-07-04 08:56:32 -0300 |
commit | 0e50854a7feb1feea24745ce0a87be4327803e21 (patch) | |
tree | 209ac60991e4dd60ebc9576b9cb231caef4e4085 /configure | |
parent | 6ef676aac3d1c954e894326924ea9f25b97cec95 (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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)} |