diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-04-17 10:43:28 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-04-17 10:56:28 +0200 |
commit | a59565f855cb30fff56eb3d889376bfd27dc728f (patch) | |
tree | 73f5be90f7b0034ce9f60ba9bf2d60c9c9373128 /solenv | |
parent | cb6b6e286cf4664c0036560908ec28f3bba3aaa6 (diff) |
workaround problems with LTO for some libraries (disable for them)
Currently enabling lto fails for scfilt frm and wpftdraw which should be
fixed and this commit reverted.
Change-Id: I73b1846458dd7830425279328dd4e652269afc1a
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/unxgcc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index a32759395eb8..0bcd36687871 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -185,7 +185,7 @@ $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $(1)) && \ $(gb_CXX) \ $(if $(filter Library CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ - $(gb_LTOFLAGS) \ + $(if $(filter-out $(foreach lib,frm scfilt wpftdraw,$(call gb_Library_get_linktargetname,$(lib))),$*),$(gb_LTOFLAGS)) \ $(if $(SOVERSION),-Wl$(COMMA)--soname=$(notdir $(1)).$(SOVERSION)) \ $(if $(SOVERSIONSCRIPT),-Wl$(COMMA)--version-script=$(SOVERSIONSCRIPT))\ $(subst \d,$$,$(RPATH)) \ |