Kaydet (Commit) dccf47b7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Build python3 with debug flags if --enable-debug

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

Change-Id: I34ca29acaddcff9b811067504c12a8243a6d046b
üst 9ebcd5ec
...@@ -63,8 +63,10 @@ $(call gb_ExternalProject_get_state_target,python3,build) : ...@@ -63,8 +63,10 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
$(if $(filter TRUE,$(ENABLE_VALGRIND)),--with-valgrind) \ $(if $(filter TRUE,$(ENABLE_VALGRIND)),--with-valgrind) \
--prefix=/python-inst \ --prefix=/python-inst \
$(if $(filter MACOSX,$(OS)),,--with-system-expat) \ $(if $(filter MACOSX,$(OS)),,--with-system-expat) \
$(if $(filter AIX,$(OS)),--disable-ipv6 --with-threads \ $(if $(filter AIX,$(OS)), \
OPT="-g0 -fwrapv -O3 -Wall") \ --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 WNT-GCC,$(OS)-$(COM)),--with-threads ac_cv_printf_zd_format=no) \
$(if $(filter MACOSX,$(OS)), \ $(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, \ $(if $(filter INTEL POWERPC,$(CPUNAME)),--enable-universalsdk=$(MACOSX_SDK_PATH) --with-universal-archs=32-bit) --enable-framework=/@__________________________________________________OOO --with-framework-name=LibreOfficePython, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment