mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
[many]linux-(x86|x64)/: toolchain: Fix ASM compiler
Similarly to the linux-x86 toolchain, gcc is used to compile assembler file.
This commit is contained in:
parent
0bc5941bc8
commit
ed7872edee
@ -6,6 +6,6 @@ set(cross_triple "x86_64-linux-gnu")
|
|||||||
|
|
||||||
set(CMAKE_C_COMPILER /usr/bin/${cross_triple}-gcc)
|
set(CMAKE_C_COMPILER /usr/bin/${cross_triple}-gcc)
|
||||||
set(CMAKE_CXX_COMPILER /usr/bin/${cross_triple}-g++)
|
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)
|
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/${cross_triple}-noop)
|
||||||
|
@ -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_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
|
||||||
set(CMAKE_CXX_COMPILER /opt/rh/devtoolset-2/root/usr/bin/g++)
|
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_Fortran_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gfortran)
|
||||||
|
|
||||||
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/${cross_triple}-noop)
|
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/${cross_triple}-noop)
|
||||||
|
@ -6,7 +6,7 @@ set(cross_triple "i686-linux-gnu")
|
|||||||
|
|
||||||
set(CMAKE_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
|
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_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_Fortran_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gfortran)
|
||||||
|
|
||||||
# Discard path returned by pkg-config and associated with HINTS in module
|
# Discard path returned by pkg-config and associated with HINTS in module
|
||||||
|
Loading…
Reference in New Issue
Block a user