diff options
Diffstat (limited to 'cmake/scripts/linux/ArchSetup.cmake')
| -rw-r--r-- | cmake/scripts/linux/ArchSetup.cmake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake index 04fc6e3..b68efe3 100644 --- a/cmake/scripts/linux/ArchSetup.cmake +++ b/cmake/scripts/linux/ArchSetup.cmake | |||
| @@ -37,16 +37,6 @@ else() | |||
| 37 | endif() | 37 | endif() |
| 38 | endif() | 38 | endif() |
| 39 | 39 | ||
| 40 | # temp until further cleanup is done | ||
| 41 | # add Raspberry Pi 2 and 3 specific flags | ||
| 42 | if(CORE_PLATFORM_NAME_LC STREQUAL rbpi) | ||
| 43 | if(CPU MATCHES "cortex-a7") | ||
| 44 | set(NEON_FLAGS "-fPIC -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -mvectorize-with-neon-quad") | ||
| 45 | elseif(CPU MATCHES "cortex-a53") | ||
| 46 | set(NEON_FLAGS "-fPIC -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mvectorize-with-neon-quad") | ||
| 47 | endif() | ||
| 48 | endif() | ||
| 49 | |||
| 50 | if((CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TYPE STREQUAL MinSizeRel) | 40 | if((CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TYPE STREQUAL MinSizeRel) |
| 51 | AND CMAKE_COMPILER_IS_GNUCXX) | 41 | AND CMAKE_COMPILER_IS_GNUCXX) |
| 52 | # Make sure we strip binaries in Release build | 42 | # Make sure we strip binaries in Release build |
