diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cc961692..286b06c6 100644 --- a/configure.ac +++ b/configure.ac @@ -772,6 +772,9 @@ if test "$enable_gcc_warnings" != "no" && test "$GCC" = "yes"; then dnl Disable unused-function warnings. These trigger for minheap-internal.h. AX_CHECK_COMPILE_FLAG([-Wno-unused-function], [CFLAGS="$CFLAGS -Wno-unused-function"],[],[-Werror]) + dnl Disable unknown pragmas warnings. + AX_CHECK_COMPILE_FLAG([-Wno-pragmas], [CFLAGS="$CFLAGS -Wno-pragmas"],[],[-Werror]) + if test "$have_clang" = "yes"; then case "$host_os" in darwin*) |