This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Small typo in iconv.m4
- From: Hafiz Abid Qadeer <abid_qadeer at mentor dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, <binutils at sourceware dot org>
- Date: Fri, 9 Nov 2018 10:18:18 +0000
- Subject: Small typo in iconv.m4
Hi All,
Attached config/ patch was approved and committed in gcc repo. Ok to
commit it in the binutils-gdb repo?
2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
* config/iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS.
Append $INCICONV to it.
* gdb/configure: Regenerate.
* binutils/configure: Likewise.
* intl/configure: Likewise.
Thanks,
--
Hafiz Abid Qadeer
Mentor Embedded/CodeSourcery
diff --git a/config/iconv.m4 b/config/iconv.m4
index 5f9304a6ba..f1e54c5aed 100644
--- a/config/iconv.m4
+++ b/config/iconv.m4
@@ -73,7 +73,7 @@ AC_DEFUN([AM_ICONV_LINK],
if test "$am_cv_func_iconv" != yes; then
am_save_CPPFLAGS="$CPPFLAGS"
am_save_LIBS="$LIBS"
- CPPFLAGS="$LIBS $INCICONV"
+ CPPFLAGS="$CPPFLAGS $INCICONV"
LIBS="$LIBS $LIBICONV"
AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>],