summaryrefslogtreecommitdiff
path: root/libexttextcat/ExternalProject_exttextcat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libexttextcat/ExternalProject_exttextcat.mk')
-rw-r--r--libexttextcat/ExternalProject_exttextcat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexttextcat/ExternalProject_exttextcat.mk b/libexttextcat/ExternalProject_exttextcat.mk
index 67f70fcc6919..68035ca6d684 100644
--- a/libexttextcat/ExternalProject_exttextcat.mk
+++ b/libexttextcat/ExternalProject_exttextcat.mk
@@ -17,7 +17,7 @@ $(call gb_ExternalProject_get_state_target,exttextcat,build):
$(call gb_ExternalProject_run,build,\
./configure --disable-shared --with-pic \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
- CFLAGS="$(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \
+ CFLAGS="$(if $(debug),-g) $(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \
$(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \
&& $(MAKE) \
)