summarylogtreecommitdiffstats
path: root/toolchain-mingw.cmake
diff options
context:
space:
mode:
authorMichel Zou2018-03-24 20:58:53 +0100
committerMichel Zou2018-03-24 20:58:53 +0100
commitc12ee8158fd2e474b3702a8194c99bb9dc7f455d (patch)
treece0c09be454f94d7ba51c5bd37ec79a1497fe474 /toolchain-mingw.cmake
parent58120d0d4be2468d4921bc3a667cee07d45cc06d (diff)
downloadaur-c12ee8158fd2e474b3702a8194c99bb9dc7f455d.tar.gz
use cc/c++
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@)