From efcb6a4df93487159da3e506e7753fed3ac0545a Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Sat, 22 Dec 2012 10:59:07 -0800 Subject: [PATCH] Added no-strict-aliasing to compile flags. Would not compile on my openSUSE 12.2 system without this fix. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a08ca24..f40b890 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AM_CONDITIONAL(LD_ISCSI, [expr "$host_os" : linux > /dev/null 2>&1]) if test "$ac_cv_prog_gcc" = yes; then - WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror" + WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror -Wno-strict-aliasing" fi AC_SUBST(WARN_CFLAGS)