Update to the latest upstream release. While here, remove obsd.isc.org from MASTER_SITES, since it does not resolve.
MASTER_SITES needs updating, perhaps it's also worth considering migrating to CMake as that's what upstream uses for CI and fix make test.
It also seems like it incorrectly overrides default CFLAGS -g0 -Os (optimization enabled), -g0 -O0 if disabled (which is fine I guess).
Hi, sorry for being vague
http://obsd.isc.org/pub/OpenBSD/distfiles/ doesn't resolve and ZI's sites doesn't carry it.
During compilation I see the following: (without OPTIMIZED CFLAGS enabled), -Os enabled
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -DCARES_BUILDING_LIBRARY -DCARES_SYMBOL_HIDING -fvisibility=hidden -pipe -mcpu=cortex-a53 -fno-strict-aliasing -Qunused-arguments -g0 -O0 -MT libcares_la-ares__read_line.lo -MD -MP -MF .deps/libcares_la-ares__read_line.Tpo -c ares__read_line.c -o libcares_la-ares__read_line.o >/dev/null 2>&1
From what I can tell this comes from
L19735 and line 19736 in ./configure
Also, converting to CMake would be a bad idea as it would introduce circular depdencies sorry for not realizing that earlier.