Revert "LTO fixes for android"

Seems to break the tinderbox, needs more work?

This reverts commit 6aaf1ec5a7.
This commit is contained in:
Tor Lillqvist
2016-01-19 00:56:40 +02:00
parent 6aaf1ec5a7
commit a28fc0ea2f
2 changed files with 0 additions and 7 deletions

View File

@@ -48,7 +48,6 @@ $(call gb_ExternalProject_get_state_target,xml2,build):
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________URELIB) \
LDFLAGS="$(if $(SYSBASE),-L$(SYSBASE)/usr/lib)" \
CFLAGS="$(if $(SYSBASE),-I$(SYSBASE)/usr/include) $(if $(debug),-g)" \
AR_FLAGS="$(AR_FLAGS)" \
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \
&& $(MAKE) \
)

View File

@@ -20,12 +20,6 @@ gb_STDLIBS := \
endif
ifeq ($(ENABLE_LTO),TRUE)
gb_LTOPLUGINFLAGS := --plugin $(shell $(CC) --print-prog-name=liblto_plugin.so)
AR_FLAGS := rcs --plugin $(shell $(CC) --print-prog-name=liblto_plugin.so)
RANLIB := $(RANLIB) --plugin $(shell $(CC) --print-prog-name=liblto_plugin.so)
endif
# No unit testing can be run
gb_CppunitTest_CPPTESTPRECOMMAND := :