diff options
author | Richard Henderson <rth@twiddle.net> | 2010-05-21 10:04:46 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-08 19:12:47 +0200 |
commit | d44cff22047651aefe8ea68f173e1dcbb56b07a7 (patch) | |
tree | 8351a859c55642f76af1f3b3f1acac3bcc7697cb | |
parent | fd1dc858370d9a9ac7ea2512812c3a152ee6484b (diff) | |
download | qemu-d44cff22047651aefe8ea68f173e1dcbb56b07a7.zip qemu-d44cff22047651aefe8ea68f173e1dcbb56b07a7.tar.gz qemu-d44cff22047651aefe8ea68f173e1dcbb56b07a7.tar.bz2 |
Fix --enable-user-pie compilation.
We forgot to propagate -fpie to the libdis-user directory.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |