From 52191c02dc9cf23ff9e04c0fb63ef9d19b5db3e6 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 14 Jul 2010 14:26:47 +0300 Subject: [PATCH] kvm: Use -Os optimization for GCC GCC generates unreadable machine code with default optimization level. Signed-off-by: Pekka Enberg --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eef578d..48a1dc2 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ ifeq ($(uname_M),x86_64) endif endif -CFLAGS += $(CPPFLAGS) $(DEFINES) -Iinclude -g +CFLAGS += $(CPPFLAGS) $(DEFINES) -Iinclude -Os -g WARNINGS += -Wall WARNINGS += -Wcast-align