summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/lang-objc
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-05-14 17:10:05 +0900
committerDaiki Ueno <ueno@gnu.org>2014-05-14 17:16:40 +0900
commit405226ba9be003ba692ce9ad84fabb61b1eabb5a (patch)
tree40dd471bb528a779eb4ce05bf1d38cf72cc59056 /gettext-tools/tests/lang-objc
parent67ef1fd1830d962f10c2a8a38f9be65da3938eaa (diff)
downloadexternal_gettext-405226ba9be003ba692ce9ad84fabb61b1eabb5a.zip
external_gettext-405226ba9be003ba692ce9ad84fabb61b1eabb5a.tar.gz
external_gettext-405226ba9be003ba692ce9ad84fabb61b1eabb5a.tar.bz2
tests: Fix errors when CFLAGS contains --coverage
* lang-c: Supply $CFLAGS to the libtool link command. * lang-objc: Likewise.
Diffstat (limited to 'gettext-tools/tests/lang-objc')
-rwxr-xr-xgettext-tools/tests/lang-objc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/lang-objc b/gettext-tools/tests/lang-objc
index c7766e4..663e525 100755
--- a/gettext-tools/tests/lang-objc
+++ b/gettext-tools/tests/lang-objc
@@ -62,7 +62,7 @@ ${CC} -I../.. -I"$abs_top_srcdir"/gnulib-lib -I../../intl ${CFLAGS} \
: ${CONFIG_SHELL=${SHELL-/bin/sh}}
${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CC --mode=link \
- ${CC} -o l-objc-prog prog.${OBJEXT} \
+ ${CC} ${CFLAGS} -o l-objc-prog prog.${OBJEXT} \
../../gnulib-lib/libgettextlib.la ${LDFLAGS} ${LTLIBINTL} \
|| exit 1