aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn
blob: e807b8274b70d7d454105c75d8cafefeb325e34e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Use VAR_ARRAYS on FreeBSD (same as audio/opus)

--- src/webrtc/src/ringrtc/opus/BUILD.gn	2021-03-15 17:51:55 UTC
+++ src/webrtc/src/ringrtc/opus/BUILD.gn
@@ -37,10 +37,11 @@ config("opus_private_config") {
     "OPUS_EXPORT=",
     "ENABLE_HARDENING",
 
+    "VAR_ARRAYS",
     # Prefer alloca() over variable length arrays which are often inefficient;
     # the opus code will automatically handle this correctly per-platform.
-    "USE_ALLOCA",
-    "HAVE_ALLOCA_H",
+#    "USE_ALLOCA",
+#    "HAVE_ALLOCA_H",
   ]
 
   include_dirs = [