225726f71f
(e.g. DVB) and the conversion from MPEG transport stream to program stream.
22 lines
525 B
Text
22 lines
525 B
Text
--- 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")
|
|
|