summaryrefslogtreecommitdiff
path: root/devel/ninja/files/patch-configure.py
blob: 61f0af7cc6ebdd8f78a2a3d154a008539582de24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.py.orig	2014-11-24 18:37:47.000000000 +0100
+++ configure.py	2015-01-18 21:26:42.000000000 +0100
@@ -164,7 +164,7 @@
         """Run a subcommand, quietly.  Prints the full command on error."""
         try:
             subprocess.check_call(cmdline, shell=True)
-        except subprocess.CalledProcessError, e:
+        except subprocess.CalledProcessError:
             print('when running: ', cmdline)
             raise
 
@@ -297,7 +297,7 @@
         cflags += ['/Ox', '/DNDEBUG', '/GL']
         ldflags += ['/LTCG', '/OPT:REF', '/OPT:ICF']
 else:
-    cflags = ['-g', '-Wall', '-Wextra',
+    cflags = ['-Wall', '-Wextra',
               '-Wno-deprecated',
               '-Wno-unused-parameter',
               '-fno-rtti',