raburton / rboot

An open source bootloader for the ESP8266
https://richard.burtons.org/tag/rboot/?order=ASC
MIT License
300 stars 72 forks source link

Makefile: don't use -Os and -O3 together. Also get rid of linker option "--no-check-sections". #42

Closed eriksl closed 5 years ago

eriksl commented 5 years ago

Contrary to what the documentation says, the last one specified wins, so the code is compiled -O3 and not -Os. Remove the -Os shrinks the code considerately.

eriksl commented 5 years ago

The --no-check-sections option is dangerous and not required, so I got rid of it.

eriksl commented 5 years ago

This should not be in one commit. Let me try again.