linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH

This commit is contained in:
Jean-Christophe Fillion-Robin 2016-04-15 03:29:07 -04:00
parent a679af020f
commit 7527b8e6e3

View File

@ -14,7 +14,8 @@ 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)
# Prevent 64-bit libraries from being discovered
# Discard path returned by pkg-config and associated with HINTS in module
# like FindOpenSSL.
set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/)
set(CMAKE_CROSSCOMPILING_EMULATOR sh -c)