aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_opus_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-third__party_opus_BUILD.gn')
-rw-r--r--www/iridium/files/patch-third__party_opus_BUILD.gn11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-third__party_opus_BUILD.gn b/www/iridium/files/patch-third__party_opus_BUILD.gn
new file mode 100644
index 000000000000..f15683ab5cb8
--- /dev/null
+++ b/www/iridium/files/patch-third__party_opus_BUILD.gn
@@ -0,0 +1,11 @@
+--- third_party/opus/BUILD.gn.orig 2017-04-19 19:06:52 UTC
++++ third_party/opus/BUILD.gn
+@@ -14,7 +14,7 @@ use_opus_arm_optimization = current_cpu
+ # If OPUS Run Time CPU Detections (RTCD) shall be used.
+ # Based on the conditions in celt/arm/armcpu.c:
+ # defined(_MSC_VER) || defined(__linux__).
+-use_opus_rtcd = current_cpu == "arm" && (is_win || is_android || is_linux)
++use_opus_rtcd = current_cpu == "arm" && (is_win || is_android || is_linux || is_bsd)
+
+ config("opus_config") {
+ include_dirs = [ "src/include" ]