projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ef676a
)
configure: use cc/c++ instead of gcc/g++
author
Fraser Tweedale
<frase@frase.id.au>
Thu, 22 May 2014 10:10:06 +0000
(20:10 +1000)
committer
David Bremner
<david@tethera.net>
Fri, 4 Jul 2014 11:56:32 +0000
(08:56 -0300)
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
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 99ab74dcfb97c515a8c2b96ffd7d75f551652e0c..9514d4d90c1f38d3d738f933ab110b869120d9fc 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-43,8
+43,8
@@
fi
# Set several defaults (optionally specified by the user in
# environment variables)
-CC=${CC:-
g
cc}
-CXX=${CXX:-
g
++}
+CC=${CC:-cc}
+CXX=${CXX:-
c
++}
CFLAGS=${CFLAGS:--O2}
CPPFLAGS=${CPPFLAGS:-}
CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}