Makefile: X86-reduce & Diet options should compile with size optimization
diff --git a/Makefile b/Makefile
index 30cc5f1..59750f6 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@
endif
ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
-CFLAGS += -DCAPSTONE_DIET
+CFLAGS += -DCAPSTONE_DIET -Os
endif
LDFLAGS += -shared
@@ -164,7 +164,7 @@
X86_REDUCE =
ifneq (,$(findstring yes,$(CAPSTONE_X86_REDUCE)))
X86_REDUCE = _reduce
-CFLAGS += -DCAPSTONE_X86_REDUCE
+CFLAGS += -DCAPSTONE_X86_REDUCE -Os
endif
DEP_X86 =