-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from teeminus/update
- Loading branch information
Showing
14 changed files
with
392 additions
and
346 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
2 changes: 1 addition & 1 deletion
2
patches/ungoogled-chromium/windows/windows-disable-clang-version-check.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
2 changes: 1 addition & 1 deletion
2
patches/ungoogled-chromium/windows/windows-disable-download-warning-prompt.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
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
2 changes: 1 addition & 1 deletion
2
patches/ungoogled-chromium/windows/windows-disable-nodebug_assertion.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
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
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
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
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
36 changes: 22 additions & 14 deletions
36
patches/ungoogled-chromium/windows/windows-fix-missing-clang-features.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 |
---|---|---|
@@ -1,19 +1,27 @@ | ||
--- a/build/config/compiler/BUILD.gn | ||
+++ b/build/config/compiler/BUILD.gn | ||
@@ -726,7 +726,6 @@ config("compiler") { | ||
"/lldltocache:" + | ||
rebase_path("$root_out_dir/thinlto-cache", root_build_dir), | ||
"/lldltocachepolicy:$cache_policy", | ||
- "-mllvm:-disable-auto-upgrade-debug-info", | ||
] | ||
} else { | ||
ldflags += [ "-flto=thin" ] | ||
@@ -773,7 +772,7 @@ config("compiler") { | ||
# toolchain has this flag. | ||
# We only use one version of LLVM within a build so there's no need to | ||
# upgrade debug info, which can be expensive since it runs the verifier. | ||
- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ] | ||
+ ldflags += [ "-Wl,-mllvm" ] | ||
@@ -616,24 +616,6 @@ config("compiler") { | ||
} | ||
} | ||
|
||
- # TODO(crbug.com/1488374): This causes binary size growth and potentially | ||
- # other problems. | ||
- # TODO(crbug.com/1491036): This isn't supported by Cronet's mainline llvm version. | ||
- if (default_toolchain != "//build/toolchain/cros:target" && | ||
- !llvm_android_mainline) { | ||
- cflags += [ | ||
- "-mllvm", | ||
- "-split-threshold-for-reg-with-hint=0", | ||
- ] | ||
- if (use_thin_lto && is_a_target_toolchain) { | ||
- if (is_win) { | ||
- ldflags += [ "-mllvm:-split-threshold-for-reg-with-hint=0" ] | ||
- } else { | ||
- ldflags += [ "-Wl,-mllvm,-split-threshold-for-reg-with-hint=0" ] | ||
- } | ||
- } | ||
- } | ||
- | ||
# TODO(crbug.com/1235145): Investigate why/if this should be needed. | ||
if (is_win) { | ||
cflags += [ "/clang:-ffp-contract=off" ] |
Oops, something went wrong.