From 81d930ad1f5f57837634ebc678520514084b2bd6 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Fri, 28 Mar 2014 10:28:57 +0800 Subject: [PATCH] Makefile: X86-reduce & Diet options should compile with size optimization --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 30cc5f1f..59750f63 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ CFLAGS += -DUSE_SYS_DYN_MEM endif ifneq (,$(findstring yes,$(CAPSTONE_DIET))) -CFLAGS += -DCAPSTONE_DIET +CFLAGS += -DCAPSTONE_DIET -Os endif LDFLAGS += -shared @@ -164,7 +164,7 @@ endif X86_REDUCE = ifneq (,$(findstring yes,$(CAPSTONE_X86_REDUCE))) X86_REDUCE = _reduce -CFLAGS += -DCAPSTONE_X86_REDUCE +CFLAGS += -DCAPSTONE_X86_REDUCE -Os endif DEP_X86 =