X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=carlfw%2FCMakeLists.txt;fp=carlfw%2FCMakeLists.txt;h=79406195731f6ba74eb54081727506c3d648b2ec;hb=7e4f4928397dbdcb0e2d4efa3c718e503d75dfae;hp=70eb23784e5902395d7a3d6bac1abfb44c5f2e80;hpb=987f234e4f438a8b925610e2e84426dfe53f57e1;p=carl9170fw.git diff --git a/carlfw/CMakeLists.txt b/carlfw/CMakeLists.txt index 70eb237..7940619 100644 --- a/carlfw/CMakeLists.txt +++ b/carlfw/CMakeLists.txt @@ -9,7 +9,7 @@ set(CARLFW_CFLAGS_WARNING "-W -Wall -Wextra -Wunreachable-code -Winline -Wlogica 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)