mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +00:00
[EXPLORER]
Use -Wno-error option when building with link-time optimization. [BROWSEUI] "Fix" multiple definition of (non-virtual thunk to) QueryInterface errors. Binutils linker bug. svn path=/trunk/; revision=63824
This commit is contained in:
parent
ddf5ed131e
commit
1f60ce121c
2 changed files with 10 additions and 0 deletions
|
@ -63,4 +63,9 @@ add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATI
|
|||
|
||||
if(NOT MSVC)
|
||||
add_compile_flags("-Wno-error=narrowing")
|
||||
|
||||
# GCC bug #59472
|
||||
if(LTCG)
|
||||
add_target_link_flags(explorer "-Wno-error")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -61,4 +61,9 @@ add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
|
|||
|
||||
if(NOT MSVC)
|
||||
add_target_compile_flags(browseui "-Wno-unused-but-set-variable")
|
||||
|
||||
# Binutils linker bug
|
||||
if(LTCG)
|
||||
add_target_link_flags(browseui "-Wl,--allow-multiple-definition")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue