Use -Wno-c++11-narrowing when available
Needed to build boost.gil with Apple Clang 5.0
This commit is contained in:
parent
ecc08f5e77
commit
c542922a88
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ AS_IF([test x$enable_compiler_flags != xno], [
|
|||
AC_CXX_FLAG([-pipe])
|
||||
AC_CXX_FLAG([-g])
|
||||
AC_CXX_FLAG([-std=c++11])
|
||||
AC_CXX_FLAG([-Wno-c++11-narrowing])
|
||||
|
||||
# -O* messes with debugging.
|
||||
AS_IF([test x$enable_debug = xyes], [
|
||||
|
|
Loading…
Reference in a new issue