mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
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).
This commit is contained in:
parent
6ef676aac3
commit
0e50854a7f
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue