From: Richard Zak Date: Wed, 21 Jul 2021 01:40:04 +0000 (-0400) Subject: configure script fix for Haiku X-Git-Tag: v6.1.0-rc2~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8ee198d21c4bab41b8cb8d1729a956d9f648997;p=thirdparty%2Fqemu.git configure script fix for Haiku Haiku does not support compiling with -fpie. See the discussion here for details: https://discuss.haiku-os.org/t/qemu-on-haiku-sdl-issue/10961/6?u=rjzak Signed-off-by: Richard Zak Message-Id: [thuth: Tweaked title and patch description] Signed-off-by: Thomas Huth --- diff --git a/configure b/configure index 79e2ddc74e0..cd5e6892f4e 100755 --- a/configure +++ b/configure @@ -770,7 +770,8 @@ SunOS) ;; Haiku) haiku="yes" - QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE $QEMU_CFLAGS" + pie="no" + QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE -fPIC $QEMU_CFLAGS" ;; Linux) audio_drv_list="try-pa oss"