Merge topic 'mingw-archive-no-replace'
39d0ade0
Windows-GNU: Support duplicate object names in large archives (#14874)
This commit is contained in:
commit
028aee1a07
|
@ -67,8 +67,8 @@ 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> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> cq <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> q <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> <TARGET>")
|
||||
|
||||
# Initialize C link type selection flags. These flags are used when
|
||||
|
|
Loading…
Reference in New Issue