You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

arm-linux-gnueabi.toolchain.cmake 569 B

123456789101112
  1. set(ARM_CROSS_BUILD_ARCH armv7)
  2. set(CMAKE_C_COMPILER "arm-linux-gnueabi-gcc")
  3. set(CMAKE_CXX_COMPILER "arm-linux-gnueabi-g++")
  4. set(CMAKE_C_FLAGS "-mfloat-abi=softfp -mfpu=neon-vfpv4 -Wno-psabi")
  5. set(CMAKE_CXX_FLAGS "-mfloat-abi=softfp -mfpu=neon-vfpv4 -Wno-psabi")
  6. if("$ENV{FORCE_CHECK_UNUSED_PARAMETER}" STREQUAL "true")
  7. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=unused-parameter")
  8. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=unused-parameter")
  9. endif()
  10. set(CMAKE_STRIP "arm-linux-gnueabi-strip")
  11. set(CMAKE_SYSTEM_PROCESSOR armv7)
  12. set(CMAKE_SYSTEM_NAME Linux)