default to a template depth limit of 512
This commit is contained in:
parent
b863306c8b
commit
9519fd4441
1
Jamfile
1
Jamfile
|
@ -766,6 +766,7 @@ lib torrent
|
||||||
|
|
||||||
: # default build
|
: # default build
|
||||||
<threading>multi
|
<threading>multi
|
||||||
|
<c++-template-depth>512
|
||||||
|
|
||||||
: # usage requirements
|
: # usage requirements
|
||||||
$(usage-requirements)
|
$(usage-requirements)
|
||||||
|
|
|
@ -102,7 +102,7 @@ AX_PTHREAD()
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
LIBS="$PTHREAD_LIBS $LIBS"
|
||||||
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
||||||
CC="$PTHREAD_CC"
|
CC="$PTHREAD_CC"
|
||||||
CXXFLAGS="$CXXFLAGS -ftemplate-depth=128 -Wno-format-zero-length"
|
CXXFLAGS="$CXXFLAGS -ftemplate-depth=512 -Wno-format-zero-length"
|
||||||
|
|
||||||
AS_ECHO "Checking for visibility support:"
|
AS_ECHO "Checking for visibility support:"
|
||||||
AC_CACHE_CHECK([for __attribute__((visibility("hidden")))],
|
AC_CACHE_CHECK([for __attribute__((visibility("hidden")))],
|
||||||
|
|
Loading…
Reference in New Issue