From 67c0f08d168a2933bf01160592cbe905075cd268 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:12:51 +0200 Subject: Add -static in configure if needed Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c176aa23df..47e5825a45 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,7 @@ CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@ CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE CPPFLAGS += -U_FORTIFY_SOURCE LIBS= -ifdef CONFIG_STATIC -LDFLAGS += -static -endif + ifdef BUILD_DOCS DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 else -- cgit v1.2.3