diff options
author | 2009-12-19 15:16:08 +0000 | |
---|---|---|
committer | 2009-12-20 11:35:57 +0200 | |
commit | 65e8c5192803c4739a51bc8d11ddcacb66f1f100 (patch) | |
tree | e083e9cbdad804ababa8f098783b5ff33f8776d5 /configure | |
parent | fdc/sparc32: don't hang on detection under OBP (diff) | |
download | qemu-kvm-65e8c5192803c4739a51bc8d11ddcacb66f1f100.tar.gz qemu-kvm-65e8c5192803c4739a51bc8d11ddcacb66f1f100.tar.bz2 qemu-kvm-65e8c5192803c4739a51bc8d11ddcacb66f1f100.zip |
user_only: compile everything with -fpie
We really need compile _all_ sources for user target with -fpie when
use --enable-user-pie.
It's regression introduced by commit add16157d72454.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
[blauwirbel@gmail.com: combined 299060a0 and 58faa1a6 to avoid breakage]
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2652,3 +2652,6 @@ d=libuser mkdir -p $d rm -f $d/Makefile ln -s $source_path/Makefile.user $d/Makefile +if test "$static" = "no" -a "$user_pie" = "yes" ; then + echo "QEMU_CFLAGS+=-fpie" > $d/config.mak +fi |