summaryrefslogtreecommitdiff
path: root/libexttextcat
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-04 20:08:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-04 20:14:04 +0100
commite24dfbb7e7790dd5a3ad2a0a87a074a16973fb0a (patch)
treeb314ca8f885989786d4732e3fc7b49f518ab9870 /libexttextcat
parent633ca742749ed006351d89852211fc2a8c48b523 (diff)
smuggle -g into libexttextcat cflags in a debug build
Change-Id: I8e6f51c2e4aac4f059bcce923f887275eba1b9a2
Diffstat (limited to 'libexttextcat')
-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) \
)