blob: 6d82f96d1d0df1870da18b70ccd70ea0816e4dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From a5c776769a911eeeaf10e276f8b17e93b1f07d19 Mon Sep 17 00:00:00 2001
From: Phantom X <PhantomX@users.noreply.github.com>
Date: Wed, 7 Apr 2021 23:20:18 -0300
Subject: [PATCH] angle: set c++14
---
gfx/angle/moz.build.common | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gfx/angle/moz.build.common b/gfx/angle/moz.build.common
index 31a1440..1bb83d5 100644
--- a/gfx/angle/moz.build.common
+++ b/gfx/angle/moz.build.common
@@ -7,6 +7,10 @@ if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
'-Wno-range-loop-construct',
]
+if CONFIG['CC_TYPE'] in ('gcc'):
+ CXXFLAGS += [
+ '-std=c++14',
+ ]
if CONFIG['INTEL_ARCHITECTURE']:
CXXFLAGS += CONFIG['SSE2_FLAGS']
--
2.30.2
|