diff --git a/Modules/Platform/Generic-SDCC-C.cmake b/Modules/Platform/Generic-SDCC-C.cmake index bbefe193ed..82074cf96c 100644 --- a/Modules/Platform/Generic-SDCC-C.cmake +++ b/Modules/Platform/Generic-SDCC-C.cmake @@ -41,7 +41,7 @@ endif() set(CMAKE_C_COMPILE_OBJECT " -o -c ") # link object files to an executable -set(CMAKE_C_LINK_EXECUTABLE " --out-fmt-ihx -o ") +set(CMAKE_C_LINK_EXECUTABLE " -o ") # needs sdcc 2.7.0 + sddclib from cvs set(CMAKE_C_CREATE_STATIC_LIBRARY