diff options
author | Reto Schneider <reto.schneider@husqvarnagroup.com> | 2017-06-08 11:47:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-08 17:18:28 (GMT) |
commit | dcf559d060fcce32b3a946eecf51d32a3e2cc953 (patch) | |
tree | 2ae9012acde4e4f2f272b792e5e3098b55243272 /Modules/Platform | |
parent | bf06d72f398cd4a8da2a3ae39ff9421209bd6964 (diff) | |
download | CMake-dcf559d060fcce32b3a946eecf51d32a3e2cc953.zip CMake-dcf559d060fcce32b3a946eecf51d32a3e2cc953.tar.gz CMake-dcf559d060fcce32b3a946eecf51d32a3e2cc953.tar.bz2 |
SDCC: Do not explicitly ask linker to generate Intel Hex files
The `--out-fmt-ihx` option added by commit v2.6.0~1253 (...use
--out-fmt-ihx to enforce .ihx files, 2007-08-15) may interfere with
options requested by the user. Also, when no linker output is
specified, SDCC outputs Intel Hex by default anyway.
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Generic-SDCC-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Generic-SDCC-C.cmake b/Modules/Platform/Generic-SDCC-C.cmake index bbefe19..82074cf 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 "<CMAKE_C_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> -c <SOURCE>") # link object files to an executable -set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS> <OBJECTS> --out-fmt-ihx -o <TARGET> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>") +set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <FLAGS> <OBJECTS> -o <TARGET> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>") # needs sdcc 2.7.0 + sddclib from cvs set(CMAKE_C_CREATE_STATIC_LIBRARY |