summaryrefslogtreecommitdiff
path: root/external/gpgmepp/ExternalProject_gpgmepp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/gpgmepp/ExternalProject_gpgmepp.mk')
-rw-r--r--external/gpgmepp/ExternalProject_gpgmepp.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/gpgmepp/ExternalProject_gpgmepp.mk b/external/gpgmepp/ExternalProject_gpgmepp.mk
index a10d41556b0c..ec865fcb2ca8 100644
--- a/external/gpgmepp/ExternalProject_gpgmepp.mk
+++ b/external/gpgmepp/ExternalProject_gpgmepp.mk
@@ -62,7 +62,8 @@ $(call gb_ExternalProject_get_state_target,gpgmepp,build):
CXXFLAGS='$(CXXFLAGS) \
$(if $(ENABLE_OPTIMIZED), \
$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS)) \
- $(if $(ENABLE_DEBUG),$(gb_DEBUG_CXXFLAGS) -D_GLIBCXX_DEBUG) \
+ $(if $(ENABLE_DEBUG),$(gb_DEBUG_CXXFLAGS)) \
+ $(if $(ENABLE_DBGUTIL),-D_GLIBCXX_DEBUG) \
$(if $(filter $(true),$(gb_SYMBOL)),$(gb_DEBUGINFO_FLAGS))' \
$(if $(filter LINUX,$(OS)), \
'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \