From patchwork Mon May 3 22:54:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix --enable-user-pie compilation. From: Richard Henderson X-Patchwork-Id: 51536 Message-Id: <1272927267-17515-1-git-send-email-rth@twiddle.net> To: qemu-devel@nongnu.org Date: Mon, 3 May 2010 15:54:27 -0700 We forgot to propagate -fpie to the libdis-user directory. Signed-off-by: Richard Henderson --- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 87942f4..dc11b65 100755 --- a/configure +++ b/configure @@ -2344,6 +2344,9 @@ for d in libdis libdis-user; do ln -s $source_path/Makefile.dis $d/Makefile echo > $d/config.mak done +if test "$static" = "no" -a "$user_pie" = "yes" ; then + echo "QEMU_CFLAGS+=-fpie" > libdis-user/config.mak +fi for target in $target_list; do target_dir="$target"