You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libunwind's GCC build fails because it tested `-nostdlib++` flag against
C++ linker but then use C linker to perform final linking, while gcc doesn't
support this flag but g++ does.
The rationale for setting LINKER_LANGUAGE to C is to avoid pulling in
C++ standard libraries. However this is already guaranteed by the
combination of `-nostdlib++` and `empty CMAKE_CXX_IMPLICIT_LINK_LIBRARIES`,
thus we can safely remove this override.
However, in case `-nostdlib++` is unsupported, we need to use `-nodefaultlibs`
and link against rtlib & libc manually.
0 commit comments