Building from Source for Fedora server with WASM in mind

I have a well-endowed homelab server and I would like to build 3.11 for it with all the bells and whistles.
Are these the right choices? Are there better ones?

sudo ./configure --prefix=/opt/python/3.11.5/ --enable-optimizations --with-lto \
 --with-computed-gotos \
 --with-system-ffi \
--enable-pystats \
--enable-shared \  # is this ok?
--enable-profiling \  # maybe I'll need it someday ?
--with-emscripten-target=browser \        # because I h8 nodejs
--enable-wasm-dynamic-linking \
--enable-wasm-pthreads \