diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-04 20:08:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-04 20:14:04 +0100 |
commit | e24dfbb7e7790dd5a3ad2a0a87a074a16973fb0a (patch) | |
tree | b314ca8f885989786d4732e3fc7b49f518ab9870 | |
parent | 633ca742749ed006351d89852211fc2a8c48b523 (diff) |
smuggle -g into libexttextcat cflags in a debug build
Change-Id: I8e6f51c2e4aac4f059bcce923f887275eba1b9a2
-rw-r--r-- | libexttextcat/ExternalProject_exttextcat.mk | 2 |
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) \ ) |