X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=carl9170fw%2Fextra%2Fsh-elf-linux.cmake;h=3fdf98c5fe3018499b1550fdfb6c3c4cdc198508;hp=24294362c6cf3a329609ff091e268bdb93dfd0ae;hb=4d82a54061be75c0bf489026aad55821bc9c61c7;hpb=1ba1a88647bfe113c885f985d6e383790dec2a1f diff --git a/carl9170fw/extra/sh-elf-linux.cmake b/carl9170fw/extra/sh-elf-linux.cmake index 2429436..3fdf98c 100644 --- a/carl9170fw/extra/sh-elf-linux.cmake +++ b/carl9170fw/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")