summaryrefslogtreecommitdiff
path: root/media-video/dcpomatic/files/dcpomatic-2.10.2-respect-cxxflags.patch
blob: 330dfd0609f3c2185ab262ce327e1d2d8317378a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- dcpomatic-2.10.2/wscript
+++ dcpomatic-2.10.2/wscript
@@ -89,9 +89,7 @@
     have_c11 = int(gcc[0]) >= 4 and int(gcc[1]) >= 8 and int(gcc[2]) >= 1
 
     if conf.options.enable_debug:
-        conf.env.append_value('CXXFLAGS', ['-g', '-DDCPOMATIC_DEBUG', '-fno-omit-frame-pointer'])
-    else:
-        conf.env.append_value('CXXFLAGS', '-O2')
+        conf.env.append_value('CXXFLAGS', ['-DDCPOMATIC_DEBUG', '-fno-omit-frame-pointer'])
 
     #
     # Windows/Linux/OS X specific