Makefile: X86-reduce & Diet options should compile with size optimization
This commit is contained in:
parent
aeb0c406ec
commit
81d930ad1f
4
Makefile
4
Makefile
|
@ -23,7 +23,7 @@ CFLAGS += -DUSE_SYS_DYN_MEM
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
|
ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
|
||||||
CFLAGS += -DCAPSTONE_DIET
|
CFLAGS += -DCAPSTONE_DIET -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS += -shared
|
LDFLAGS += -shared
|
||||||
|
@ -164,7 +164,7 @@ endif
|
||||||
X86_REDUCE =
|
X86_REDUCE =
|
||||||
ifneq (,$(findstring yes,$(CAPSTONE_X86_REDUCE)))
|
ifneq (,$(findstring yes,$(CAPSTONE_X86_REDUCE)))
|
||||||
X86_REDUCE = _reduce
|
X86_REDUCE = _reduce
|
||||||
CFLAGS += -DCAPSTONE_X86_REDUCE
|
CFLAGS += -DCAPSTONE_X86_REDUCE -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEP_X86 =
|
DEP_X86 =
|
||||||
|
|
Loading…
Reference in New Issue