Bug 1392643 Add -std=c++14 to CXXFLAGS to support lambda captures when compiling with gcc draft
authorTom Ritter <tom@mozilla.com>
Tue, 22 Aug 2017 11:39:52 -0500
changeset 655112 a12084267442a7e0d2f6fff0ab5cbb6dbcd7c2d3
parent 655111 5cbbe7b81ab4361a61ba198ca9fd22ae31dd11a7
child 655113 1d9146f208ea69b2b65e2b25f17ab62e068bbcf6
push id76778
push userbmo:tom@mozilla.com
push dateTue, 29 Aug 2017 17:35:26 +0000
bugs1392643
milestone57.0a1
Bug 1392643 Add -std=c++14 to CXXFLAGS to support lambda captures when compiling with gcc MozReview-Commit-ID: 3GJ3334jgoo
netwerk/socket/moz.build
old mode 100644
new mode 100755
--- a/netwerk/socket/moz.build
+++ b/netwerk/socket/moz.build
@@ -28,10 +28,12 @@ UNIFIED_SOURCES += [
 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
     XPIDL_SOURCES += [
         'nsINamedPipeService.idl',
     ]
     UNIFIED_SOURCES += [
         'nsNamedPipeIOLayer.cpp',
         'nsNamedPipeService.cpp'
     ]
+    if CONFIG['GNU_CXX']:
+        CXXFLAGS += ['-std=c++14']
 
 FINAL_LIBRARY = 'xul'