qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/4] Makefile: Compile libqemustub.a and libqemuutil


From: Fam Zheng
Subject: [Qemu-devel] [PATCH 2/4] Makefile: Compile libqemustub.a and libqemuutil.a with -fPIC
Date: Fri, 23 May 2014 11:02:28 +0800

Signed-off-by: Fam Zheng <address@hidden>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index d830483..9b691ec 100644
--- a/Makefile
+++ b/Makefile
@@ -203,6 +203,7 @@ Makefile: $(version-obj-y) $(version-lobj-y)
 
 libqemustub.a: $(stub-obj-y)
 libqemuutil.a: $(util-obj-y) qapi-types.o qapi-visit.o
+libqemuutil.a libqemustub.a qapi-types.o qapi-visit.o: CFLAGS += -fPIC
 
 block-modules = $(foreach o,$(block-obj-m),"$(basename $(subst /,-,$o))",) NULL
 util/module.o-cflags = -D'CONFIG_BLOCK_MODULES=$(block-modules)'
-- 
1.9.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]