-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance(libllvm): add a flag to clang so the Termux rpaths are not au…
…tomatically added
- Loading branch information
1 parent
4f01e46
commit 3b316cf
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
packages/libllvm/clang-include-clang-Driver-Options.td.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 | ||
@@ -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, [], "Disable">, PosFlag<SetTrue, [], "Enable">, | ||
+ BothFlags<[], " 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>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters