[PATCH, committed] libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS
Michael Haubenwallner
michael.haubenwallner@ssi-schaefer.com
Fri Jul 24 07:05:00 GMT 2015
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/
More information about the Libstdc++
mailing list