Message ID | 1274461486-23575-1-git-send-email-rth@twiddle.net |
---|---|
State | New |
Headers | show |
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 <rth@twiddle.net> > --- > 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"
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<rth@twiddle.net> >> --- >> 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 <pbonzini@redhat.com> Paolo
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"
We forgot to propagate -fpie to the libdis-user directory. Signed-off-by: Richard Henderson <rth@twiddle.net> --- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)