X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=extra%2Fsh-elf-linux.cmake;fp=extra%2Fsh-elf-linux.cmake;h=3fdf98c5fe3018499b1550fdfb6c3c4cdc198508;hp=24294362c6cf3a329609ff091e268bdb93dfd0ae;hb=bbc5d742913079f573526c20df9169c926bb8035;hpb=a8d662f013d7650ec3f7194c7d4628e5fdfc5eb6 diff --git a/extra/sh-elf-linux.cmake b/extra/sh-elf-linux.cmake index 2429436..3fdf98c 100644 --- a/extra/sh-elf-linux.cmake +++ b/extra/sh-elf-linux.cmake @@ -7,6 +7,7 @@ set(CMAKE_FIND_ROOT_PATH ${CMAKE_SOURCE_DIR}/toolchain/inst/) set(CMAKE_C_FLAGS "-m2 -ml -Os -ffreestanding -nostartfiles") set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections") +set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") set(OBJCOPY ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-objcopy) set(CMAKE_C_COMPILER "${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-gcc")