[Verse-cvs] [verse] SVN commit:[4535] (scons) Add debug flags for linux platform.

Jiri Hnidek jiri.hnidek at tul.cz
Tue Aug 19 15:36:30 CEST 2008


Revision: 4535
          https://svn.blender.org//revision/?rev=4535&view=rev
Author:   jiri
Date:     2008-08-19 15:36:28 +0200 (Tue, 19 Aug 2008)

Log Message:
-----------
(scons) Add debug flags for linux platform.

Modified Paths:
--------------
    trunk/verse/SConstruct

Modified: trunk/verse/SConstruct
===================================================================
--- trunk/verse/SConstruct	2008-08-12 14:49:44 UTC (rev 4534)
+++ trunk/verse/SConstruct	2008-08-19 13:36:28 UTC (rev 4535)
@@ -40,6 +40,7 @@
     platform_libs = ['ws2_32']
 elif sys.platform == 'linux2':
     print "Building on linux2"
+    debug_flags = ['-ggdb']
 elif sys.platform == 'openbsd3':
     print "Building on openbsd3"
 
@@ -95,6 +96,7 @@
 
 
 env = Environment()
+env['CCFLAGS'] = cflags
 env.Replace (CC = user_options_dict['TARGET_CC'])
 env.Replace (CXX = user_options_dict['TARGET_CXX'])
 env.Replace (PATH = user_options_dict['PATH'])





More information about the Verse-cvs mailing list