aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2021-02-15 05:31:32 +0200
committerMartin Pärtel <martin.partel@gmail.com>2021-02-15 05:31:32 +0200
commit21e8f410368d4b20cfa967a7cd3cf98da533e337 (patch)
tree2fe35673480336fdb57f4ecefa931ba6fb6a164e /configure.ac
parentbc3002cc464231ecdd0f1938184594f3f35ae767 (diff)
downloadbindfs-21e8f410368d4b20cfa967a7cd3cf98da533e337.tar.gz
Fixed permchain.c on older compilers. Enabled -Wpedantic.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ecee3e..e3e93e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ AM_CONDITIONAL(BUILD_OS_IS_DARWIN, [test x"$build_os" = darwin])
# _DARWIN_BETTER_REALPATH fixes MacOS realpath() broken around Catalina (#83).
my_CPPFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE=1 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_DARWIN_BETTER_REALPATH"
-my_CFLAGS="-Wall -fno-common -std=c99"
+my_CFLAGS="-std=c99 -Wall -Wpedantic -fno-common"
my_LDFLAGS="-pthread"
AC_SUBST([my_CPPFLAGS])
AC_SUBST([my_CFLAGS])