[clang] [flang][Driver] Support -rpath, -shared, and -static in the frontend (PR #66702)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 00:32:54 PDT 2023
================
@@ -50,3 +50,19 @@
! MSVC-SAME: FortranDecimal.lib
! MSVC-SAME: /subsystem:console
! MSVC-SAME: "[[object_file]]"
+
+! Verify that certain linker flags are known to the frontend and are passed on
+! to the linker.
+
+! RUN: %flang -### -rpath /path/to/dir %s 2>&1 \
----------------
MaskRay wrote:
Consider using one command to test many options that can be used together.
Note that you can also use -static -shared together: 408e6de8c09fc7e71329199947e977fe1c40caf1 , so I'm fine if you use one line for -shared and another for -static :)
https://github.com/llvm/llvm-project/pull/66702
More information about the cfe-commits
mailing list