-
Notifications
You must be signed in to change notification settings - Fork 111
fix: fix linux so link issue. #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
24dfc0f
fix: fix linux so link issue.
cloudwebrtc bd6a4d2
fix.
cloudwebrtc a38c702
Update build_linux.sh
cloudwebrtc 90f7033
fix.
cloudwebrtc eac8644
Update build_linux.sh
cloudwebrtc 892051a
fix.
cloudwebrtc 35ad509
Delete disable_glibc_use_isoc23.patch
cloudwebrtc 4b9a0c4
Use sudo for sed command in build_linux.sh
cloudwebrtc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
13 changes: 13 additions & 0 deletions
13
webrtc-sys/libwebrtc/patches/david_disable_gun_source_macro.patch
This file contains hidden or 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,13 @@ | ||
| diff --git a/dav1d/BUILD.gn b/dav1d/BUILD.gn | ||
| index 9348e15c3c..f34db7ff98 100644 | ||
| --- a/dav1d/BUILD.gn | ||
| +++ b/dav1d/BUILD.gn | ||
| @@ -101,7 +101,7 @@ if (is_win) { | ||
| dav1d_copts += [ "-D_DARWIN_C_SOURCE" ] | ||
| } | ||
| if (is_linux || is_chromeos || is_android || current_os == "aix") { | ||
| - if (!is_clang) { | ||
| + if (!is_clang && (current_cpu == "x86" || current_cpu == "x64")) { | ||
| dav1d_copts += [ "-D_GNU_SOURCE" ] | ||
| } | ||
| } |
This file contains hidden or 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,25 +1,24 @@ | ||
| diff --git a/config/c++/c++.gni b/config/c++/c++.gni | ||
| index c29d898fb..5ef014e51 100644 | ||
| --- a/config/c++/c++.gni | ||
| +++ b/config/c++/c++.gni | ||
| @@ -62,7 +62,7 @@ declare_args() { | ||
| # case. | ||
| # We disable that on LibFuzzer builds because it breaks the libfuzzer | ||
| # runtime. See crbug.com/411020147. | ||
| - use_llvm_libatomic = !is_apple && !is_nacl && !use_libfuzzer | ||
| + use_llvm_libatomic = !is_apple && !is_nacl && !use_libfuzzer && !is_linux | ||
| } | ||
| diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn | ||
| index fca6c9295..31b76f722 100644 | ||
| --- a/config/compiler/BUILD.gn | ||
| +++ b/config/compiler/BUILD.gn | ||
| @@ -656,6 +656,7 @@ config("compiler") { | ||
| # standard-compliant __VA_OPT__ added by C++20, and switch the gcc build | ||
| # to -std=c*. | ||
| standard_prefix = "gnu" | ||
| + defines += [ "_DEFAULT_SOURCE" ] | ||
| } | ||
|
|
||
| if (use_implicit_libcxx_modules) { | ||
| cflags_c += [ "-std=${standard_prefix}11" ] | ||
| diff --git a/config/linux/BUILD.gn b/config/linux/BUILD.gn | ||
| index 131bb71d1..36c86c48e 100644 | ||
| index 131bb71d1..a928badd0 100644 | ||
| --- a/config/linux/BUILD.gn | ||
| +++ b/config/linux/BUILD.gn | ||
| @@ -15,6 +15,7 @@ group("linux") { | ||
| # is applied to all targets. It is here to separate out the logic that is | ||
| # Linux-only. This is not applied to Android, but is applied to ChromeOS. | ||
| config("compiler") { | ||
| + cflags_cc = [ "-Wno-changes-meaning" ] | ||
| + cflags_cc = [ "-Wno-changes-meaning", "-Wno-unknown-pragmas" ] | ||
| if (current_cpu == "arm64") { | ||
| import("//build/config/arm.gni") | ||
| cflags = [] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.