mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
linux-x86: Avoid CMake issue by not setting CMAKE_AR. It is automatically set.
It is automatically set in CMakeFindBinUtils.cmake using the value of _CMAKE_TOOLCHAIN_PREFIX extracted from the compiler name within CMakeDetermineCCompiler.cmake. The CMake issue is #15448 - https://cmake.org/Bug/view.php?id=15448
This commit is contained in:
parent
44dd51cbe8
commit
4ccd459994
@ -12,7 +12,6 @@ set(cross_triple "i686-linux-gnu")
|
||||
set(CMAKE_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc)
|
||||
set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++)
|
||||
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
|
||||
set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar)
|
||||
|
||||
# Discard path returned by pkg-config and associated with HINTS in module
|
||||
# like FindOpenSSL.
|
||||
|
Loading…
Reference in New Issue
Block a user