mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Really use llvm-gcc, when available.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@303235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,6 +37,10 @@ AC_SUBST(CONFIG_LDFLAGS)
|
||||
# specify output header file
|
||||
AC_CONFIG_HEADER(include/asterisk/autoconfig.h)
|
||||
|
||||
# Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
|
||||
# other macro that uses the C compiler, or the default order will be used.
|
||||
AC_PROG_CC([llvm-gcc gcc cc])
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS dnl note- does not work on FreeBSD
|
||||
|
||||
# System default paths
|
||||
@@ -215,7 +219,6 @@ then
|
||||
fi
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC([llvm-gcc gcc cc])
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXXCPP
|
||||
|
Reference in New Issue
Block a user