Makefile: X86-reduce & Diet options should compile with size optimization

This commit is contained in:
Nguyen Anh Quynh 2014-03-28 10:28:57 +08:00
parent aeb0c406ec
commit 81d930ad1f
1 changed files with 2 additions and 2 deletions

View File

@ -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 =