Commit Graph

3 Commits

Author SHA1 Message Date
Yuri D'Elia
37f2bee6fd Rework compiler/linker flags
- Remove unnecessary warning flags during linking stage
- Remove -fuse-linker-plugin, implied by -flto at link time
- Remove -fpermissive to avoid future warning creep (depends on https://github.com/prusa3d/Prusa-Firmware/pull/2405)
- Add -fno-rtti for c++ (no savings, just to avoid future usage of rtti)
2021-06-21 07:44:35 +02:00
Yuri D'Elia
070d3e49d7 Make builds more reproducible through -frandom-seed
Some randomness is used by gcc when generating symbol names, unique
values and for LTO.

Provide a constant value based on the object file name in order to avoid
object files changing build-to-build, making debugging/disassembly
easier.
2021-06-21 07:40:59 +02:00
unknown
1c43faa179 Prepare merge to prusa3d 2019-11-29 22:06:19 +01:00