diff options
Diffstat (limited to 'cmake/option/option_armv7l-linux.cmake')
-rw-r--r-- | cmake/option/option_armv7l-linux.cmake | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/cmake/option/option_armv7l-linux.cmake b/cmake/option/option_armv7l-linux.cmake deleted file mode 100644 index b295b4a82..000000000 --- a/cmake/option/option_armv7l-linux.cmake +++ /dev/null @@ -1,32 +0,0 @@ -# -# armv7l linux compile options -# - -message(STATUS "Building for ARMv7l Linux") - -# include linux common -include("cmake/option/option_linux.cmake") - -if(NOT EXISTS "${ROOTFS_ARM}/lib/arm-linux-gnueabihf") - message(FATAL_ERROR "Please prepare RootFS for ARM") -endif() - -# addition for arm-linux -set(FLAGS_COMMON ${FLAGS_COMMON} - "-mcpu=cortex-a7" - "-mfloat-abi=hard" - "-mfpu=neon-vfpv4" - "-funsafe-math-optimizations" - "-ftree-vectorize" - "-fPIC" - ) - -# remove warning from arm cl -# https://github.com/ARM-software/ComputeLibrary/issues/330 -set(GCC_VERSION_DISABLE_WARNING 6.0) -if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER GCC_VERSION_DISABLE_WARNING) - message(STATUS "GCC version higher than ${GCC_VERSION_DISABLE_WARNING}") - set(FLAGS_CXXONLY ${FLAGS_CXXONLY} - "-Wno-ignored-attributes" - ) -endif() |