summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-09 14:34:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-09 14:34:42 (GMT)
commit20df0bcd7026b9209fb8c88052ad637e2559c74f (patch)
tree4833e806b091019699d0ca1db902ccabbd1dc73c /Modules
parentb90330f5746aca43c3698c4761bf6c0060afa63e (diff)
parenta0436a2f618b7421e6582cb8f6d3f20a39b1f957 (diff)
downloadCMake-20df0bcd7026b9209fb8c88052ad637e2559c74f.zip
CMake-20df0bcd7026b9209fb8c88052ad637e2559c74f.tar.gz
CMake-20df0bcd7026b9209fb8c88052ad637e2559c74f.tar.bz2
Merge topic 'sdcc-simplify-link-flags'
a0436a2f SDCC: Remove superfluous whitespace from link line dcf559d0 SDCC: Do not explicitly ask linker to generate Intel Hex files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !942
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Generic-SDCC-C.cmake2
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..4b3912a 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