summaryrefslogtreecommitdiff
path: root/external/libebook
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-28 09:43:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-28 09:43:10 +0000
commit8fe3c0bd644b963284d535175f61e457a25f2c61 (patch)
treeb52ce859d95c19415b237bcc9e8630a71ff76f81 /external/libebook
parent282a6fb530e3b78c1e83a9276aea0a528b9e5752 (diff)
enable-debug in libebook if the ENABLE_DEBUG is active
Change-Id: If26bdd6ed0be59a4fff137ac3166b9d644e1aea7
Diffstat (limited to 'external/libebook')
-rw-r--r--external/libebook/ExternalProject_libebook.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libebook/ExternalProject_libebook.mk b/external/libebook/ExternalProject_libebook.mk
index 0983177af75b..05f856647a64 100644
--- a/external/libebook/ExternalProject_libebook.mk
+++ b/external/libebook/ExternalProject_libebook.mk
@@ -31,7 +31,7 @@ $(call gb_ExternalProject_get_state_target,libebook,build) :
--enable-static \
--disable-shared \
--without-docs \
- --disable-debug \
+ $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug,--disable-debug) \
--disable-werror \
--disable-weffc \
CXXFLAGS="$(if $(filter NO,$(SYSTEM_BOOST)),-I$(call gb_UnpackedTarball_get_dir,boost) -I$(BUILDDIR)/config_$(gb_Side),$(BOOST_CPPFLAGS))" \