From c84a79f095aeef527cbea7eaf09777047cee6c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Kukan?= Date: Fri, 21 Feb 2014 19:30:45 +0100 Subject: [PATCH] Use gb_LTOFLAGS for python3 too. Change-Id: Ida2dee3b66dd7fbc7942d47a13ce38dda82db866 --- external/python3/ExternalProject_python3.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) \