From b9fecbe1c6e24be29ff510d7128763b900147416 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 27 Sep 2013 13:13:15 +0200 Subject: configure.ac: add -fsigned-char to make sure char is signed on systems like the Raspberry Pi char is unsigned by default but our code expects char to be signed. So we should be good with -fsigned-char --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 77ac1c2..5711659 100644 --- a/configure.ac +++ b/configure.ac @@ -188,7 +188,7 @@ else building_debug_code=yes fi -AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") +AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char") AC_SUBST(GLOBAL_CFLAGS) # check for large file support -- cgit v1.1-32-gdbae