summaryrefslogtreecommitdiff
path: root/AK/NonnullPtrVector.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2020-09-06 20:12:20 +0300
committerAndreas Kling <kling@serenityos.org>2020-09-06 21:36:36 +0200
commit542f665b27cdb4a502ccb6bdc4ba8c7ea7f37bdd (patch)
treebcc54571a4e5168bb89f9d60262b7eca40c49193 /AK/NonnullPtrVector.h
parentc5b0e0b96b90403cd4bf950c03a19355289e2837 (diff)
downloadserenity-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/NonnullPtrVector.h')
0 files changed, 0 insertions, 0 deletions