MSYS2 setup instructions

Hello,

I’m trying to compile the latest nightlies on a Windows 10 + msys2 box with no success. I manage to get the libOpenframeworksDebug.a library but it won’t compile the Release lib.
Before filing a bug, I want to make sure that my setup of MSYS2 is correct…

Can you share instructions on how to setup MSYS2 to compile OF ?

Thanks

EDIT : It seems that Clang doesn’t support the -Os optimization. I manage to compile by changing
PLATFORM_OPTIMIZATION_CFLAGS_RELEASE = -Os -DNDEBUG
to
PLATFORM_OPTIMIZATION_CFLAGS_RELEASE = -O0 -DNDEBUG
in config.win_cb_default.mk