This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, committed] libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS
- From: Michael Haubenwallner <michael dot haubenwallner at ssi-schaefer dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>, DJ Delorie <dj at redhat dot com>, Nathanael Nerode <neroden at gcc dot gnu dot org>, Alexandre Oliva <aoliva at redhat dot com>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 24 Jul 2015 09:05:36 +0200
- Subject: Re: [PATCH, committed] libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS
- Authentication-results: sourceware.org; auth=none
- References: <559BE6D9 dot 8030601 at ssi-schaefer dot com>
On 07/07/2015 04:48 PM, Michael Haubenwallner wrote:
> Hi build machinery maintainers,
>
> when the host system does not have the iconv-devel package installed,
> but the target-prefix does contain iconv.h, in libstdc++/include the
> creation of the precompiled headers fails with "<iconv.h> not found".
>
> While libstdc++/configure detects INCICONV="-I$target_prefix/include"
> and adds this to CPPFLAGS, the Makefiles do not transfer CPPFLAGS to
> the compiler commandline.
>
> Attached patch adds CPPFLAGS to AM_CPPFLAGS in libstdc++/fragment.am.
Trivial enough for no response, committed.
Thanks!
/haubi/