32 lines
709 B
Plaintext
32 lines
709 B
Plaintext
$NetBSD$
|
|
|
|
--- third_party/libyuv/BUILD.gn.orig 2020-07-15 19:01:37.000000000 +0000
|
|
+++ third_party/libyuv/BUILD.gn
|
|
@@ -312,7 +312,7 @@ if (libyuv_include_tests) {
|
|
]
|
|
public_configs = [ ":libyuv_unittest_config" ]
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
cflags = [ "-fexceptions" ]
|
|
}
|
|
if (is_ios) {
|
|
@@ -352,7 +352,7 @@ if (libyuv_include_tests) {
|
|
deps = [
|
|
":libyuv",
|
|
]
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
cflags = [ "-fexceptions" ]
|
|
}
|
|
}
|
|
@@ -365,7 +365,7 @@ if (libyuv_include_tests) {
|
|
deps = [
|
|
":libyuv",
|
|
]
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
cflags = [ "-fexceptions" ]
|
|
}
|
|
}
|