summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeoff Viola <geoffrey.viola@asirobots.com>2016-05-15 15:59:43 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-18 13:27:19 (GMT)
commitd7233a0472aae1f15f4c35f214294d9baf1b5e1f (patch)
treeb5a1e61dedddec3abbe8ae88b32df4fb23bd280f /Modules
parent7d2a0aa76c25d92f1e2a03778f5666bdd7e56b92 (diff)
downloadCMake-d7233a0472aae1f15f4c35f214294d9baf1b5e1f.zip
CMake-d7233a0472aae1f15f4c35f214294d9baf1b5e1f.tar.gz
CMake-d7233a0472aae1f15f4c35f214294d9baf1b5e1f.tar.bz2
GHS: Use shorter object file names on collision
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GHS-C.cmake1
-rw-r--r--Modules/Compiler/GHS-CXX.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GHS-C.cmake b/Modules/Compiler/GHS-C.cmake
index 50532ce..3072715 100644
--- a/Modules/Compiler/GHS-C.cmake
+++ b/Modules/Compiler/GHS-C.cmake
@@ -1,6 +1,7 @@
include(Compiler/GHS)
set(CMAKE_C_VERBOSE_FLAG "-v")
+set(CMAKE_C_OUTPUT_EXTENSION ".o")
set(CMAKE_C_FLAGS_INIT "")
set(CMAKE_C_FLAGS_DEBUG_INIT "-Odebug -g")
diff --git a/Modules/Compiler/GHS-CXX.cmake b/Modules/Compiler/GHS-CXX.cmake
index 2cffa0d..a51591b 100644
--- a/Modules/Compiler/GHS-CXX.cmake
+++ b/Modules/Compiler/GHS-CXX.cmake
@@ -1,6 +1,7 @@
include(Compiler/GHS)
set(CMAKE_CXX_VERBOSE_FLAG "-v")
+set(CMAKE_CXX_OUTPUT_EXTENSION ".o")
set(CMAKE_CXX_FLAGS_INIT "")
set(CMAKE_CXX_FLAGS_DEBUG_INIT "-Odebug -g")