https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64949

YumeYao <yumeyao at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yumeyao at gmail dot com

--- Comment #2 from YumeYao <yumeyao at gmail dot com> ---
A simple fix is just changing "--disable-shared" within
configure-stageN-{hostlib} sections to "--disable-shared --with-fpic" in
top-level Makefile.in.

But this is not always wanted. A better approach is supposed to check if
"--with-fpic" is necessary before appending it. For example,
"--enable-languages=jit" turns it on, maybe there're other cases where it
should be turned on.

Reply via email to