kvm: Use -Os optimization for GCC

GCC generates unreadable machine code with default optimization level.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:40 +01:00
committed by Will Deacon
parent bb988cf5b9
commit 52191c02dc
+1 -1
View 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