[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix --enable-user-pie compilation.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH] Fix --enable-user-pie compilation. |
Date: |
Mon, 3 May 2010 15:54:27 -0700 |
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 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"
--
1.7.0.1
- [Qemu-devel] [PATCH] Fix --enable-user-pie compilation.,
Richard Henderson <=