[all-commits] [llvm/llvm-project] 77ecb9: [flang] Add dependent-lib option to flang -fc1 on ...

David Truby via All-commits all-commits at lists.llvm.org
Wed Nov 15 07:26:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77ecb9a49bb1640684c37f80ffe56bc54dae6502
      https://github.com/llvm/llvm-project/commit/77ecb9a49bb1640684c37f80ffe56bc54dae6502
  Author: David Truby <david.truby at arm.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/dependent-lib.f90
    M flang/test/Driver/driver-help.f90

  Log Message:
  -----------
  [flang] Add dependent-lib option to flang -fc1 on Windows (#72121)

This patch adds a --dependent-lib option to flang -fc1 on Windows to
embed library link options into the object file. This is needed to
properly select the Windows CRT to link against.




More information about the All-commits mailing list