diff options
| author | hathach <[email protected]> | 2023-06-30 16:05:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-06-30 16:05:59 +0700 |
| commit | 48738df489ac583ea8a999d15222f1a570f735f7 (patch) | |
| tree | 819cba05ee87ddfa6dcd47a014641350e83ba498 /hw/bsp/lpc18 | |
| parent | 3cb4d738996e0856ab42654e421fd766652519bd (diff) | |
move LTO checked to family_support.cmake
Diffstat (limited to 'hw/bsp/lpc18')
| -rw-r--r-- | hw/bsp/lpc18/family.cmake | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/bsp/lpc18/family.cmake b/hw/bsp/lpc18/family.cmake index da71a0e5d..74a794bde 100644 --- a/hw/bsp/lpc18/family.cmake +++ b/hw/bsp/lpc18/family.cmake @@ -15,13 +15,6 @@ set(CMAKE_TOOLCHAIN_FILE ${TOP}/tools/cmake/toolchain/arm_${TOOLCHAIN}.cmake) set(FAMILY_MCUS LPC18XX CACHE INTERNAL "") -# enable LTO if supported -include(CheckIPOSupported) -check_ipo_supported(RESULT IPO_SUPPORTED) -if (IPO_SUPPORTED) - set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) -endif () - #------------------------------------ # BOARD_TARGET |
