summarylogtreecommitdiffstats
path: root/toolchain-mingw.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-mingw.cmake')
-rw-r--r--toolchain-mingw.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain-mingw.cmake b/toolchain-mingw.cmake
index 6e0136a9013a..3d29759fcf8d 100644
--- a/toolchain-mingw.cmake
+++ b/toolchain-mingw.cmake
@@ -2,8 +2,8 @@ set (CMAKE_SYSTEM_NAME Windows)
set (CMAKE_SYSTEM_PROCESSOR @PROCESSOR@)
# specify the cross compiler
-set (CMAKE_C_COMPILER @TRIPLE@-gcc)
-set (CMAKE_CXX_COMPILER @TRIPLE@-g++)
+set (CMAKE_C_COMPILER @TRIPLE@-cc)
+set (CMAKE_CXX_COMPILER @TRIPLE@-c++)
# where is the target environment
set (CMAKE_FIND_ROOT_PATH /usr/@TRIPLE@)