diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-07 17:46:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-07 18:11:16 +0300 |
commit | 58c3303a042650e78e1cf56654650d0203148c03 (patch) | |
tree | fa93b5426e7722a30111773e410d8bf027c05297 /icu | |
parent | 4abb40dde00550b325bc7e2bfdbb8001801cd50b (diff) |
Use gb_LTOFLAGS
Change-Id: Ia3c6d666894a4fcf36243573d3d421ec15682766
Diffstat (limited to 'icu')
-rw-r--r-- | icu/ExternalProject_icu.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/icu/ExternalProject_icu.mk b/icu/ExternalProject_icu.mk index 19229d6f602c..52cac492f7db 100644 --- a/icu/ExternalProject_icu.mk +++ b/icu/ExternalProject_icu.mk @@ -52,16 +52,19 @@ icu_CFLAGS:=" \ $(if $(filter IOS,$(OS)),-DUCONFIG_NO_FILE_IO) \ $(if $(SYSBASE),-I$(SYSBASE)/usr/include) \ $(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS)) \ + $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ $(if $(filter GCC,$(COM)),-fno-strict-aliasing) \ $(if $(filter $(true),$(gb_SYMBOL)),-g) \ $(if $(filter ANDROID,$(OS)),-fvisibility=hidden -fno-omit-frame-pointer)" icu_CXXFLAGS:=" \ $(if $(filter IOS,$(OS)),-DUCONFIG_NO_FILE_IO) \ $(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS)) \ + $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ $(if $(filter GCC,$(COM)),-fno-strict-aliasing) \ $(if $(filter $(true),$(gb_SYMBOL)),-g) \ $(if $(filter ANDROID,$(OS)),-fvisibility=hidden -fno-omit-frame-pointer)" icu_LDFLAGS:=" \ + $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ $(if $(filter TRUE,$(HAVE_LD_HASH_STYLE)),-Wl$(COMMA)--hash-style=$(WITH_LINKER_HASH_STYLE)) \ $(if $(SYSBASE),-L../lib -L../../lib -L../stubdata -L../../stubdata -L$(SYSBASE)/usr/lib) \ $(if $(filter TRUE,$(HAVE_LD_BSYMBOLIC_FUNCTIONS)),\ |