mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
g++ seems to generate calls to __cxa_guard_* functions when we use non-trivial initialization of local statics. Requiring these symbols breaks some ports since these symbols are defined in libcstdc++ which we do not link against when building ports. This commit turns some local statics into global statics in netdb.cpp so libc wouldn't need these symbols.
18 KiB
18 KiB