diff mbox series

[11/12] configure: add HOST_SUPPORTS_UNALIGNED_ACCESS

Message ID 20180108172904.8772-12-f4bug@amsat.org
State New
Headers show
Series add HOST_SUPPORTS_UNALIGNED_ACCESS, reduce slirp warnings | expand

Commit Message

Philippe Mathieu-Daudé Jan. 8, 2018, 5:29 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 configure | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configure b/configure
index 28cd073941..669e5a041a 100755
--- a/configure
+++ b/configure
@@ -5005,6 +5005,7 @@  fi
 # check if host supports unaligned access
 
 if test "$host_supports_unaligned_access" != "no"; then
+  QEMU_CFLAGS="-DHOST_SUPPORTS_UNALIGNED_ACCESS $QEMU_CFLAGS"
   if compile_prog "-Werror -Wno-address-of-packed-member" "" ; then
     QEMU_CFLAGS="-Wno-address-of-packed-member $QEMU_CFLAGS"
   fi