diff options
author | Itamar <itamar8910@gmail.com> | 2020-09-06 20:12:20 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-06 21:36:36 +0200 |
commit | 542f665b27cdb4a502ccb6bdc4ba8c7ea7f37bdd (patch) | |
tree | bcc54571a4e5168bb89f9d60262b7eca40c49193 /AK/Tests | |
parent | c5b0e0b96b90403cd4bf950c03a19355289e2837 (diff) | |
download | serenity-542f665b27cdb4a502ccb6bdc4ba8c7ea7f37bdd.zip |
LibC: Avoid generating calls to__cxa_guard_* functions in netdb.cpp
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.
Diffstat (limited to 'AK/Tests')
0 files changed, 0 insertions, 0 deletions