From 0bec10b176ef351d49cd29b0dfd0d79d9c6ab367 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 7 Apr 2021 11:41:34 +0200 Subject: force some CFLAGS this avoids spurious warnings about misaligned memory access --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 192007a..2bcb184 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,8 @@ AS_IF([test "x$doc_only" != xyes],[ AC_PROG_CC AC_PROG_CC_C99 -CFLAGS="-Wall $CFLAGS" +# Force some CFLAGS +CFLAGS="-Wall -Wno-address-of-packed-member $CFLAGS" # Checks for header files. AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h]) -- cgit v1.2.3