mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
29 lines
1.7 KiB
Diff
29 lines
1.7 KiB
Diff
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<SetTrue, [], [ClangOption, CC1Option, FlangOption, FC1Option], "Useless option, for compatibility only">,
|
|
+ NegFlag<SetFalse>,
|
|
+ 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<clang_ignored_
|
|
defm stack_check : BooleanFFlag<"stack-check">, Group<clang_ignored_f_Group>;
|
|
defm strength_reduce :
|
|
BooleanFFlag<"strength-reduce">, Group<clang_ignored_gcc_optimization_f_Group>;
|
|
+defm termux_rpath : BoolFOption<"termux-rpath",
|
|
+ LangOpts<"OpenMP">, DefaultTrue,
|
|
+ NegFlag<SetFalse, [], [ClangOption, CC1Option], "Disable">, PosFlag<SetTrue, [], [ClangOption, CC1Option], "Enable">,
|
|
+ BothFlags<[], [ClangOption, CC1Option], " setting rpaths for the Termux environment">>;
|
|
defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
|
|
defm tracer : BooleanFFlag<"tracer">, Group<clang_ignored_gcc_optimization_f_Group>;
|
|
defm tree_dce : BooleanFFlag<"tree-dce">, Group<clang_ignored_gcc_optimization_f_Group>;
|