"Link Time Optimization (LTO) gives GCC the capability of
dumping its internal representation (GIMPLE) to disk, so
that all the different compilation units that make up a
single executable can be optimized as a single module.
This expands the scope of inter-procedural optimizations to
encompass the whole program (or, rather, everything that is
visible at link time)."
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
set(CARLFW_CFLAGS_EXTRA "-mbitops -std=gnu99 -ffunction-sections -Wframe-larger-than=128 -Werror")
set(CARLFW_CFLAGS_DEF "-D__CARL9170FW__")
if (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS)
- set(CARLFW_CFLAGS_AGGRESSIVE "-fomit-frame-pointer -fsee -frename-registers -ftree-vectorize")
+ set(CARLFW_CFLAGS_AGGRESSIVE "-fomit-frame-pointer -fsee -frename-registers -ftree-vectorize -flto -fstrict-volatile-bitfields")
endif (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS)
include_directories (../include/linux ../include/shared ../include include)