https://git.reactos.org/?p=reactos.git;a=commitdiff;h=806ec9344e7d2a6cf8348…
commit 806ec9344e7d2a6cf8348a2bdf1ac5bf9160c256
Author: Jérôme Gardou <zefklop(a)users.noreply.github.com>
AuthorDate: Fri Oct 26 10:16:26 2018 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Fri Oct 26 10:51:52 2018 +0200
[CMAKE] Set CMAKE_OBJCOPY unconditionnally
---
toolchain-gcc.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/toolchain-gcc.cmake b/toolchain-gcc.cmake
index 6ffe23d89b..f6ce3c2d74 100644
--- a/toolchain-gcc.cmake
+++ b/toolchain-gcc.cmake
@@ -53,6 +53,7 @@ set(CMAKE_MC_COMPILER ${MINGW_TOOLCHAIN_PREFIX}windmc)
set(CMAKE_RC_COMPILER ${MINGW_TOOLCHAIN_PREFIX}windres)
set(CMAKE_DLLTOOL ${MINGW_TOOLCHAIN_PREFIX}dlltool)
#set(CMAKE_AR ${MINGW_TOOLCHAIN_PREFIX}gcc-ar${MINGW_TOOLCHAIN_SUFFIX})
+set(CMAKE_OBJCOPY ${MINGW_TOOLCHAIN_PREFIX}objcopy)
set(CMAKE_C_CREATE_STATIC_LIBRARY "<CMAKE_AR> crT <TARGET>
<LINK_FLAGS> <OBJECTS>")
set(CMAKE_CXX_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})