mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
add 'small' optimization mode
This commit is contained in:
parent
823327a00b
commit
e2f0b45337
4
makefile
4
makefile
@ -135,6 +135,10 @@ ifeq ($(mode),fast)
|
||||
cflags += -O3 -g3 -DNDEBUG
|
||||
strip = strip
|
||||
endif
|
||||
ifeq ($(mode),small)
|
||||
cflags += -Os -g3 -DNDEBUG
|
||||
strip = strip
|
||||
endif
|
||||
|
||||
cpp-objects = $(foreach x,$(1),$(patsubst $(2)/%.cpp,$(3)/%.o,$(x)))
|
||||
asm-objects = $(foreach x,$(1),$(patsubst $(2)/%.S,$(3)/%-asm.o,$(x)))
|
||||
|
Loading…
Reference in New Issue
Block a user