Fix --enable-user-pie compilation.
PATCH 1/1 Fix --enable-user-pie compilation.
We forgot to propagate -fpie to the libdis-user directory.
Signed-off-by Richard Henderson <[email protected]>
--- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
configure +3 -0
@@ -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"
Signature · 1 line
1.7.0.1
Ping^4
r~
Quoted 21 lines · Richard Henderson
We forgot to propagate -fpie to the libdis-user directory.
Signed-off-by Richard Henderson <[email protected]>--- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)configure +3
-0@@ -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"
Paolo Bonzini
Acked-byQuoted 25 lines · Richard Henderson
Ping^4
r~
Quoted 19 lines · Richard Henderson
We forgot to propagate -fpie to the libdis-user directory.
Signed-off-by Richard Henderson<[email protected]>--- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)configure +3
-0@@ -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
Quoted 2 lines
configure for d in libdis libdis-user; do · line 2363
Quoted 2 lines
configure +0
-0for target in $target_list; do target_dir="$target"
Acked-by Paolo Bonzini <[email protected]>
Paolo