increase bracket depth if compiling with clang

This commit is contained in:
Dave Murphy 2017-03-03 16:13:25 +00:00
parent c42584594b
commit 34eca34dcf

View File

@ -170,6 +170,10 @@ case $PLATFORM in
Darwin )
cflags="-mmacosx-version-min=${OSXMIN} -isysroot ${OSXSDKPATH} -I/usr/local/include"
ldflags="-mmacosx-version-min=${OSXMIN} -Wl,-syslibroot,${OSXSDKPATH} -L/usr/local/lib"
TESTCC=`cc -v 2>&1 | grep clang`
if [ "x${TESTCC}x" != "xx" ]; then
cflags="$cflags -fbracket-depth=512"
fi
;;
MINGW32* )
cflags="-D__USE_MINGW_ACCESS"