milsko/doc/TINYCONFIG.md
IoIxD 8c1c9228b7
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
use unix2dos to undo what windows did
2026-07-16 15:44:09 -07:00

438 B

Tiny Config

Milsko's configure script supports the --tiny option for building the tiniest possible Milsko library (~400kb as of writing). Currently, what it does is:

  • Add -Oz to the cflags
  • (clang only) add -flto=thin to the cflags and linker flags
  • Build stb-image with STB_IMAGE_STATIC (this is why you get warnings with stb_image when you use it)
  • (Linux) Disable the Wayland backend
  • (Linux) Disable dbus integration