mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
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>
This commit is contained in:
parent
fd1dc85837
commit
d44cff2204
3
configure
vendored
3
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user