Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lang/spidermonkey78: Fix build with llvm16
- Refresh patches Sponsored by: The FreeBSD Foundation
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
lang/spidermonkey78/files/patch-build_moz.configure_flags.configure
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,11 @@ | ||
--- build/moz.configure/flags.configure.orig 2023-06-24 10:37:11 UTC | ||
+++ build/moz.configure/flags.configure | ||
@@ -56,7 +56,7 @@ def new_pass_manager_flags(enabled, compiler, host, ta | ||
# Temporary until https://bugs.llvm.org/show_bug.cgi?id=45835 gets a | ||
# real fix: clang 10 hangs with some ubsan-inserted code constructs. | ||
return None | ||
- if enabled and compiler.version >= '9.0.0': | ||
+ if enabled and compiler.version >= '9.0.0' and compiler.version < '16.0.0': | ||
if compiler.type == 'clang': | ||
return ['-fexperimental-new-pass-manager'] | ||
elif compiler.type == 'clang-cl': |
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