diff options
author | Brad King <brad.king@kitware.com> | 2015-09-09 11:08:20 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-09 11:08:20 -0400 |
commit | 08659ff4cbeb6ceee312479fcd9b4f8d694f95d6 (patch) | |
tree | 8567860b6f8e6b1d58d1f21406cdb04029da012b /Modules/Platform/Windows-GNU.cmake | |
parent | 0e7f34c0a9a6ad8dbcdad32910d87b8d8671cd51 (diff) | |
download | cmake-08659ff4cbeb6ceee312479fcd9b4f8d694f95d6.tar.gz |
Re-order 'ar' options 'cq' => 'qc'
The documetnation of binutils:
https://sourceware.org/binutils/docs/binutils/ar-cmdline.html
suggests to use the parameters "q" and "c" in this order ("q" is
operation, and "c" is the modifier).
Suggested-by: Дилян Палаузов <dilyan.palauzov@aegee.org>
Diffstat (limited to 'Modules/Platform/Windows-GNU.cmake')
-rw-r--r-- | Modules/Platform/Windows-GNU.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake index b97409c500..d8a423e557 100644 --- a/Modules/Platform/Windows-GNU.cmake +++ b/Modules/Platform/Windows-GNU.cmake @@ -65,7 +65,7 @@ macro(__windows_compiler_gnu lang) if(MSYS OR MINGW) # Create archiving rules to support large object file lists for static libraries. - set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> cq <TARGET> <LINK_FLAGS> <OBJECTS>") + set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> qc <TARGET> <LINK_FLAGS> <OBJECTS>") set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> q <TARGET> <LINK_FLAGS> <OBJECTS>") set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> <TARGET>") |