Make sure link time optimization sees same compiler flags
Make sure link time optimization sees same compiler flags

gcc prefers that link time optimization flags must be matching
for compile and link commands.

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

"To use the link-time optimizer, -flto and optimization options
should be specified at compile time and during the final link."

Signed-off-by: Pauli <ce89c68871fad9564c22852774cc328c5c04372c@gmail.com>

sorenhein/dds,sorenhein/dds,dds-bridge/dds,dds-bridge/dds