diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-29 14:06:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-29 14:06:04 +0200 |
commit | 691450b8d4f9de48fca32b621348ef2a306b0349 (patch) | |
tree | 7f0b85cac0eba92cfb07e0c54245579b68b1543e /external | |
parent | dfb24d09a8714d9e4c854a7f0d5a1ca1ad82e81b (diff) |
Pass --enable-debug down to some externals
Change-Id: I3bb3c90142cbbd32877ba5e3d9070bc52ee76df9
Diffstat (limited to 'external')
-rw-r--r-- | external/libodfgen/ExternalProject_libodfgen.mk | 2 | ||||
-rw-r--r-- | external/librevenge/ExternalProject_librevenge.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/external/libodfgen/ExternalProject_libodfgen.mk b/external/libodfgen/ExternalProject_libodfgen.mk index 6e1c7ff7dcfd..c86fdc35acfe 100644 --- a/external/libodfgen/ExternalProject_libodfgen.mk +++ b/external/libodfgen/ExternalProject_libodfgen.mk @@ -30,7 +30,7 @@ $(call gb_ExternalProject_get_state_target,libodfgen,build) : , \ --enable-shared --disable-static \ ) \ - --disable-debug \ + $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug,--disable-debug) \ --disable-werror \ --disable-weffc \ --without-docs \ diff --git a/external/librevenge/ExternalProject_librevenge.mk b/external/librevenge/ExternalProject_librevenge.mk index 707b16efd6b1..7fcdc3e32430 100644 --- a/external/librevenge/ExternalProject_librevenge.mk +++ b/external/librevenge/ExternalProject_librevenge.mk @@ -28,7 +28,7 @@ $(call gb_ExternalProject_get_state_target,librevenge,build) : --with-pic \ --enable-shared \ --disable-static \ - --disable-debug \ + $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug,--disable-debug) \ --disable-werror \ --disable-weffc \ --disable-streams \ |