./configure \
CC=clang \
CXX=clang++ \
CFLAGS="-O3 -march=native -flto=thin -flto-jobs=5 -std=gnu17 -Wno-unused-command-line-argument" \
CXXFLAGS="-O3 -march=native -flto=thin -flto-jobs=5 -std=gnu++17 -Wno-unused-command-line-argument" \
LDFLAGS="-mmacosx-version-min=11.5" \
LIBS="-lpng -ljpeg" \
--with-native-compilation \
--with-gnutls \
--without-x \
--with-xml2 \
--with-dbus \
--with-modules \
--with-json \
--without-ns \
--with-jpeg \
--with-tiff \
--with-gif \
--with-png \
--with-rsvg \
--with-libsystemd \
--with-cairo \
--with-zlib \
--with-libgmp \
--with-toolkit-scroll-bars \
--disable-gcc-warnings
