[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix --enable-user-pie compilation.
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] Fix --enable-user-pie compilation. |
Date: |
Mon, 17 May 2010 11:27:09 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 |
Ping? This options really doesn't work atm...
r~
On 05/03/2010 03:54 PM, Richard Henderson wrote:
> 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"