[yocto] solve gcc-5.0.0 build errors with "-P" option to cpp?
Robert P. J. Day
rpjday at crashcourse.ca
Thu Feb 19 01:39:35 PST 2015
as i mentioned recently, using fedora rawhide and having recently
upgraded to gcc-5.0.0, some packages (eg., ncurses-native) failed to
build for this reason:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
toward the bottom (comment 27), jakub jelinek suggests the solution of
simply telling people to preprocess with "-P", which inhibits the
generation of line markers.
so i just added a wide-sweeping:
CPPFLAGS_append = " -P"
to my local.conf and, sure enough, that got around the build error(s).
is that the best workaround for the time being until this weirdness
with gcc-5.0.0 is fixed?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list