[PATCH] libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS

Michael Haubenwallner michael.haubenwallner@ssi-schaefer.com
Tue Jul 7 14:49:00 GMT 2015


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.

Thanks!
/haubi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdcxx-cppflags.patch
Type: text/x-patch
Size: 5525 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150707/4e627080/attachment.bin>


More information about the Libstdc++ mailing list