aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bdb015b..d5382a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,12 @@ case $host_os in
45 *) ;; 45 *) ;;
46esac 46esac
47 47
48case $host_cpu in
49 *sparc*)
50 CFLAGS="$CFLAGS -D__STRICT_ALIGNMENT"
51 ;;
52esac
53
48AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) 54AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin])
49AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd]) 55AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd])
50AM_CONDITIONAL([HOST_LINUX], [test x$HOST_OS = xlinux]) 56AM_CONDITIONAL([HOST_LINUX], [test x$HOST_OS = xlinux])