[PATCH v2] configure: use cc/c++ instead of gcc/g++
Fraser Tweedale
frase at frase.id.au
Thu May 22 03:10:06 PDT 2014
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).
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 9bde2eb..7d015c6 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)}
--
1.9.2
More information about the notmuch
mailing list