diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-21 19:30:45 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-21 19:32:20 +0100 |
commit | c84a79f095aeef527cbea7eaf09777047cee6c1c (patch) | |
tree | 69f3f83c93beba092ea418024062f59eaee082ab /external | |
parent | editeng: sal_Bool->bool (diff) | |
download | core-c84a79f095aeef527cbea7eaf09777047cee6c1c.tar.gz core-c84a79f095aeef527cbea7eaf09777047cee6c1c.zip |
Use gb_LTOFLAGS for python3 too.
Change-Id: Ida2dee3b66dd7fbc7942d47a13ce38dda82db866
Diffstat (limited to 'external')
-rw-r--r-- | external/python3/ExternalProject_python3.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk index 6254cda6453b..8cce5cb1eea7 100644 --- a/external/python3/ExternalProject_python3.mk +++ b/external/python3/ExternalProject_python3.mk @@ -51,7 +51,7 @@ else # create a symlink "LO_lib" because the .so are in a directory with platform # specific name like build/lib.linux-x86_64-3.3 -python3_cflags = $(ZLIB_CFLAGS) +python3_cflags = $(ZLIB_CFLAGS) $(gb_LTOFLAGS) ifneq (,$(ENABLE_VALGRIND)) python3_cflags += $(VALGRIND_CFLAGS) endif @@ -85,6 +85,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) : $(if $(SYSBASE), -L$(SYSBASE)/usr/lib) \ $(if $(filter WNT-GCC,$(OS)-$(COM)), -shared-libgcc \ $(if $(filter YES,$(MINGW_SHARED_GCCLIB)),-Wl$(COMMA)--enable-runtime-pseudo-reloc-v2 -Wl$(COMMA)--export-all-symbols)) \ + $(gb_LTOFLAGS) \ )" \ && MAKEFLAGS= $(MAKE) \ $(if $(filter MACOSX,$(OS)),DESTDIR=$(EXTERNAL_WORKDIR)/python-inst install) \ |