| Submitter | Juan Quintela |
|---|---|
| Date | Dec. 15, 2009, 8:55 p.m. |
| Message ID | <m36388neii.fsf@neno.neno> |
| Download | mbox | patch |
| Permalink | /patch/41216/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/Makefile.user b/Makefile.user index 907e74b..e4b5def 100644 --- a/Makefile.user +++ b/Makefile.user @@ -2,6 +2,7 @@ include ../config-host.mak include $(SRC_PATH)/rules.mak +include config.mak .PHONY: all diff --git a/configure b/configure index cf1db86..d815c7a 100755 --- a/configure +++ b/configure @@ -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