Merge pull request #76 from jcfr/linux-toolchain-fix-asm-compiler

[many]linux-(x86|x64)/: toolchain: Fix ASM compiler
This commit is contained in:
Jean-Christophe Fillion-Robin 2016-11-20 03:01:13 -05:00 committed by GitHub
commit 9639405d67
3 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,6 @@ set(cross_triple "x86_64-linux-gnu")
set(CMAKE_C_COMPILER /usr/bin/${cross_triple}-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/${cross_triple}-g++)
set(CMAKE_ASM_COMPILER /usr/bin/${cross_triple}-as)
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/${cross_triple}-noop)

View File

@ -6,7 +6,7 @@ set(cross_triple "x86_64-linux-gnu")
set(CMAKE_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
set(CMAKE_CXX_COMPILER /opt/rh/devtoolset-2/root/usr/bin/g++)
set(CMAKE_ASM_COMPILER /opt/rh/devtoolset-2/root/usr/bin/as)
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
set(CMAKE_Fortran_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gfortran)
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/${cross_triple}-noop)

View File

@ -6,7 +6,7 @@ set(cross_triple "i686-linux-gnu")
set(CMAKE_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
set(CMAKE_CXX_COMPILER /opt/rh/devtoolset-2/root/usr/bin/g++)
set(CMAKE_ASM_COMPILER /opt/rh/devtoolset-2/root/usr/bin/as)
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
set(CMAKE_Fortran_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gfortran)
# Discard path returned by pkg-config and associated with HINTS in module