summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorPrajwal A N <prajwal.an92@gmail.com>2016-05-25 14:22:57 (GMT)
committerJan Kotas <jkotas@microsoft.com>2016-05-25 14:22:57 (GMT)
commit046085a7bbc924739773576da20951efff194adb (patch)
treec336ad1eb04f65c9447d2fdc0d29161b00f98e6a /cross
parente172a238e2400fd8b8d1b96678bacbc43a2d033b (diff)
downloadcoreclr-046085a7bbc924739773576da20951efff194adb.zip
coreclr-046085a7bbc924739773576da20951efff194adb.tar.gz
coreclr-046085a7bbc924739773576da20951efff194adb.tar.bz2
arm-softfp: make toolchain.cmake consistent among different arm archs (#5210)
Fixes #5177 Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Diffstat (limited to 'cross')
-rw-r--r--cross/arm-softfp/toolchain.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cross/arm-softfp/toolchain.cmake b/cross/arm-softfp/toolchain.cmake
index 9f02ca2..407ab53 100644
--- a/cross/arm-softfp/toolchain.cmake
+++ b/cross/arm-softfp/toolchain.cmake
@@ -20,8 +20,8 @@ add_compile_options(-mfpu=vfpv3)
add_compile_options(--sysroot=${CROSS_ROOTFS})
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -target ${TOOLCHAIN}")
-set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B${CROSS_ROOTFS}/usr/lib/${TOOLCHAIN}")
-set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib/${TOOLCHAIN} -L${CROSS_ROOTFS}/usr/lib/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B${CROSS_ROOTFS}/usr/lib/gcc/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib/${TOOLCHAIN}")
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)