This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Some weird bug with non gnu-make
Tracing it down yet some more, apart from the weird spacing issue, it
seems that the .NOEXPORT at the bottom of libstdc++ is at fault.
Specifically, the version of CC that libmath/Makefile gets comes from the
environment, set from higher level Makefiles, and the NOEXPORT makes the
version in libstdc++-v3/Makefile transparent for gnu-make...
But it is not transparent for non gnu-make ! And it includes one -fpic at
the end that libtool was never configured for.
It is likely that higher levels just need to be explicit and pass a CC
value on the command line, NOT the environment, to work... Or that value
of CC needs to be modified, or a proper value of CC needs to be supplied to
libmath/Makefile...