Hi, Juanito.
It's a different matter.
It appears that I didn't explain quite clearly in my previous post, let me try again.
They are hard-coded configuration which won't be touched unless you edit it manually.
What we're having here:
1. Download python source code (data files contain -O3)
2. configure, make --> /usr/local/bin/python built with -Os
3. make install --> ( config-3.11-arm-linux-gnueabihf/Makefile, _sysconfigdata__linux_arm-linux-gnueabihf.py ) got installed
4. Whenever you compile a new package (python setup.py, pip install, ...etc)
python would first append (-Os) from environment variables, then override it with (-O3) from the hard-coded data files mentioned above.
P.S.
Node.js does this as well.
You can checkout what I've done here
http://tinycorelinux.net/13.x/armv7/tcz/src/node/Specifically, the Favor4Size.patch