Try to fix toolchain file on Windows

This commit is contained in:
Luke Benstead 2021-05-23 13:21:08 +01:00
parent a79c1dd753
commit 3975c68c5e

View File

@ -6,8 +6,8 @@ SET(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_CROSSCOMPILING TRUE) set(CMAKE_CROSSCOMPILING TRUE)
set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc) set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++) set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++${CMAKE_EXECUTABLE_SUFFIX})
add_compile_options(-ml -m4-single-only -ffunction-sections -fdata-sections) add_compile_options(-ml -m4-single-only -ffunction-sections -fdata-sections)