qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] Fix --enable-user-pie compilation.


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] Fix --enable-user-pie compilation.
Date: Mon, 07 Jun 2010 18:08:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4

On 06/07/2010 05:07 PM, Richard Henderson wrote:
Ping^4


r~

On 05/21/2010 10:04 AM, Richard Henderson wrote:
We forgot to propagate -fpie to the libdis-user directory.

Signed-off-by: Richard Henderson<address@hidden>
---
  configure |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 3cd2c5f..ba3aaac 100755
--- a/configure
+++ b/configure
@@ -2355,6 +2355,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"

Acked-by: Paolo Bonzini <address@hidden>

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]