Skip to content
  • Brad King's avatar
    Remove non-language implicit link dependencies · 56d46199
    Brad King authored
    Some compilers use implicit link options of the form
    
      -lcrt*.o
      -lgcc*
      -lSystem      (on Mac)
      -lSystemStubs (on Mac)
    
    that provide system-wide symbols not specific to any language.
    These need not be listed explicitly for mixed-language linking.
    
    We teach CMake to remove the above items from the implicit library list
    of each language.  This change makes it possible to mix GNU compiler
    versions in some cases.
    56d46199