Can I build some modules less?

I am trying to build libreoffice,But I think it is too big for me.
I don’t need to use the database, math, etc.Can I delete of make clean them?
How can I make LibreOffice smaller?

Short answer: no.

Long answer: the dependencies between modules are quite intertwined, you might experiment with various configure --disable-… switches, but many of them are experimental and unless you’re actively developing in that area using them is not recommended.

ok…thx u