mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Merge pull request #140 from dicej/master
only enable LTO if use-lto is true
This commit is contained in:
commit
23633d1f3b
3
makefile
3
makefile
@ -304,7 +304,7 @@ cflags_debug_fast = -O0 -g3
|
|||||||
cflags_stress = -O0 -g3
|
cflags_stress = -O0 -g3
|
||||||
cflags_stress_major = -O0 -g3
|
cflags_stress_major = -O0 -g3
|
||||||
ifeq ($(use-clang),true)
|
ifeq ($(use-clang),true)
|
||||||
cflags_fast = -O3 -flto -g3
|
cflags_fast = -O3 -g3
|
||||||
cflags_small = -Oz -g3
|
cflags_small = -Oz -g3
|
||||||
else
|
else
|
||||||
cflags_fast = -O3 -g3
|
cflags_fast = -O3 -g3
|
||||||
@ -472,6 +472,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(ios),true)
|
ifeq ($(ios),true)
|
||||||
cflags += -DAVIAN_IOS
|
cflags += -DAVIAN_IOS
|
||||||
|
use-lto = false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(build-platform),darwin)
|
ifeq ($(build-platform),darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user