0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd::net::addrs: Fix attribute portage.

This commit is contained in:
Jason Volk 2020-10-29 03:32:57 -07:00
parent 3b75b06bf1
commit 91e3f8a2b8

View file

@ -52,8 +52,8 @@ ircd::net::addrs::has_usable_ipv6_interface()
#endif
#ifdef HAVE_IFADDRS_H
[[GCC::optimize(0), clang::optnone]] //XXX: trouble
bool
__attribute__((optimize(0))) //XXX: trouble
ircd::net::addrs::for_each(const closure &closure)
{
return for_each(raw_closure{[&closure]