diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 59e1337599b2..656545555349 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -5370,6 +5370,12 @@ Visibility<[ClangOption, FlangOption]>, HelpText<"Add -rpath with architecture-specific resource directory to the linker flags. " "When --hip-link is specified, also add -rpath with HIP runtime library directory to the linker flags">; +defm openmp_implicit_rpath: BoolFOption<"openmp-implicit-rpath", + LangOpts<"OpenMP">, + DefaultTrue, + PosFlag, + NegFlag, + BothFlags<[NoArgumentUnused]>>; def fno_rtlib_add_rpath: Flag<["-"], "fno-rtlib-add-rpath">, Flags<[NoArgumentUnused]>, Visibility<[ClangOption, FlangOption]>, @@ -4879,6 +4879,10 @@ defm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group, Group; defm strength_reduce : BooleanFFlag<"strength-reduce">, Group; +defm termux_rpath : BoolFOption<"termux-rpath", + LangOpts<"OpenMP">, DefaultTrue, + NegFlag, PosFlag, + BothFlags<[], [ClangOption, CC1Option], " setting rpaths for the Termux environment">>; defm tls_model : BooleanFFlag<"tls-model">, Group; defm tracer : BooleanFFlag<"tracer">, Group; defm tree_dce : BooleanFFlag<"tree-dce">, Group;