mirror of https://gitee.com/bigwinds/arangodb
macos
This commit is contained in:
parent
d68886e994
commit
9872a5de0c
|
@ -5312,7 +5312,21 @@ if test x$GCC == xyes; then
|
||||||
|
|
||||||
*)
|
*)
|
||||||
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
|
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
|
||||||
WALLC="-std=gnu90 ${WALLC}"
|
|
||||||
|
if test x$tr_DARWIN != xyes; then
|
||||||
|
WALLC="-std=gnu90 ${WALLC}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $CC in
|
||||||
|
*clang*)
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
if test x$tr_DARWIN != xyes; then
|
||||||
|
WALLC="-std=gnu90 ${WALLC}"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,21 @@ if test x$GCC == xyes; then
|
||||||
|
|
||||||
*)
|
*)
|
||||||
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
|
WALLCXX="${WALLCXX} -Wstrict-null-sentinel"
|
||||||
WALLC="-std=gnu90 ${WALLC}"
|
|
||||||
|
if test x$tr_DARWIN != xyes; then
|
||||||
|
WALLC="-std=gnu90 ${WALLC}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $CC in
|
||||||
|
*clang*)
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
if test x$tr_DARWIN != xyes; then
|
||||||
|
WALLC="-std=gnu90 ${WALLC}"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue