Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Rodrigo Mesquita's avatar
    e98051a5
    Suppress duplicate librares linker warning of new macOS linker · e98051a5
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    Fixes #24167
    
    XCode 15 introduced a new linker which warns on duplicate libraries being
    linked. To disable this warning, we pass -Wl,-no_warn_duplicate_libraries as
    suggested by Brad King in CMake issue #25297.
    
    This flag isn't necessarily available to other linkers on darwin, so we must
    only configure it into the CC linker arguments if valid.
    e98051a5
    History
    Suppress duplicate librares linker warning of new macOS linker
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    Fixes #24167
    
    XCode 15 introduced a new linker which warns on duplicate libraries being
    linked. To disable this warning, we pass -Wl,-no_warn_duplicate_libraries as
    suggested by Brad King in CMake issue #25297.
    
    This flag isn't necessarily available to other linkers on darwin, so we must
    only configure it into the CC linker arguments if valid.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.