summaryrefslogtreecommitdiff
path: root/external/liborcus
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-02-21 18:28:19 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-02-21 10:32:43 +0100
commita11dff0342cd826c6e680a83a011e606595acfb7 (patch)
tree3e244cf20e91cb6eeed5577ec57185c31f2254b7 /external/liborcus
parent682ace7031b8bd0a8ee8d1ba10e95823755895ed (diff)
Build liborcus with lto flags. To unbreak linking phase.
Change-Id: Ie24054a9c0538187e1b234101dd41f30306ec2ae
Diffstat (limited to 'external/liborcus')
-rw-r--r--external/liborcus/ExternalProject_liborcus.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/liborcus/ExternalProject_liborcus.mk b/external/liborcus/ExternalProject_liborcus.mk
index a62855d4e3ea..4247e51f7812 100644
--- a/external/liborcus/ExternalProject_liborcus.mk
+++ b/external/liborcus/ExternalProject_liborcus.mk
@@ -68,8 +68,8 @@ liborcus_CPPFLAGS+=-D_GLIBCXX_DEBUG
endif
endif
-liborcus_CXXFLAGS=$(CXXFLAGS)
-liborcus_LDFLAGS=$(LDFLAGS)
+liborcus_CXXFLAGS=$(CXXFLAGS) $(gb_LTOFLAGS)
+liborcus_LDFLAGS=$(LDFLAGS) $(gb_LTOFLAGS)
ifeq ($(COM),MSC)
liborcus_CXXFLAGS+=$(BOOST_CXXFLAGS)
endif