diff --git a/configure.ac b/configure.ac index 9686ac53..687b221c 100644 --- a/configure.ac +++ b/configure.ac @@ -262,7 +262,6 @@ if test "x$GCC" = "xyes" ; then dnl This one too. JE_CFLAGS_ADD([-Wno-missing-field-initializers]) JE_CFLAGS_ADD([-Wno-missing-attributes]) - JE_CFLAGS_ADD([-Wstrict-prototypes]) JE_CFLAGS_ADD([-pipe]) JE_CFLAGS_ADD([-g3]) elif test "x$je_cv_msvc" = "xyes" ; then diff --git a/scripts/run_static_analysis.sh b/scripts/run_static_analysis.sh index db870689..68ceae55 100755 --- a/scripts/run_static_analysis.sh +++ b/scripts/run_static_analysis.sh @@ -13,7 +13,7 @@ compile_time_malloc_conf='background_thread:true,'\ 'prof_unbias:false,'\ 'prof_time_resolution:high' -./autogen.sh \ +EXTRA_CFLAGS='-Wstrict-prototypes' EXTRA_CXXFLAGS='-Wstrict-prototypes' ./autogen.sh \ --with-private-namespace=jemalloc_ \ --disable-cache-oblivious \ --enable-prof \