]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm: Use -Os optimization for GCC
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 14 Jul 2010 11:26:47 +0000 (14:26 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 14 Jul 2010 11:26:47 +0000 (14:26 +0300)
GCC generates unreadable machine code with default optimization level.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/Makefile

index eef578d784ccb59a37d05e800ff944f70ebb56f5..48a1dc2a8d32ea855f13363dc054ec5c1d8ee1dd 100644 (file)
@@ -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