Build python3 with debug flags if --enable-debug

...the special case for AIX can probably be cleaned up?

Change-Id: I34ca29acaddcff9b811067504c12a8243a6d046b
This commit is contained in:
Stephan Bergmann
2013-08-28 10:04:08 +02:00
parent 9ebcd5ec54
commit dccf47b7f6

View File

@ -63,8 +63,10 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
$(if $(filter TRUE,$(ENABLE_VALGRIND)),--with-valgrind) \
--prefix=/python-inst \
$(if $(filter MACOSX,$(OS)),,--with-system-expat) \
$(if $(filter AIX,$(OS)),--disable-ipv6 --with-threads \
OPT="-g0 -fwrapv -O3 -Wall") \
$(if $(filter AIX,$(OS)), \
--disable-ipv6 --with-threads OPT="-g0 -fwrapv -O3 -Wall", \
$(if $(gb_Module_CURRENTMODULE_DEBUG_ENABLED), \
OPT="$(gb_COMPILERNOOPTFLAGS) $(gb_DEBUG_CFLAGS)")) \
$(if $(filter WNT-GCC,$(OS)-$(COM)),--with-threads ac_cv_printf_zd_format=no) \
$(if $(filter MACOSX,$(OS)), \
$(if $(filter INTEL POWERPC,$(CPUNAME)),--enable-universalsdk=$(MACOSX_SDK_PATH) --with-universal-archs=32-bit) --enable-framework=/@__________________________________________________OOO --with-framework-name=LibreOfficePython, \