aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvbcut/files/patch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvbcut/files/patch-SConstruct')
-rw-r--r--multimedia/dvbcut/files/patch-SConstruct22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/dvbcut/files/patch-SConstruct b/multimedia/dvbcut/files/patch-SConstruct
new file mode 100644
index 000000000000..928bd34888b3
--- /dev/null
+++ b/multimedia/dvbcut/files/patch-SConstruct
@@ -0,0 +1,22 @@
+--- SConstruct~ Sun Dec 11 12:07:09 2005
++++ SConstruct Thu Dec 29 00:19:48 2005
+@@ -38,13 +38,17 @@
+
+ ###### BUILD ENVIRONMENT
+
++opts.Add('CFLAGS','compiler flags', "-O3 -Wall")
++opts.Add('LDFLAGS','linker flags', "")
++
+ env=Environment(options=opts, ENV=os.environ)
+ debug=int(env['DEBUG'])
+
+ if (debug>0):
+ env.Append(CCFLAGS=['-g3','-Wall'])
+-else:
+- env.Append(CCFLAGS=['-O3','-Wall'])
++env.Append(CCFLAGS=Split(env["CFLAGS"]))
++
++env.Append(LINKFLAGS=Split(env["LDFLAGS"]))
+
+ env.Replace(CXXFILESUFFIX=".cpp")
+