Ignore:
Timestamp:
05/31/10 15:20:34 (15 years ago)
Author:
tim
Message:

misc tweaks to run under python2.5-dbg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python2/SConstruct

    r196 r198  
    2828
    2929nenv.config = config
    30 nenv.Append(CFLAGS = "-I../include/ -Iinclude")
     30if config.DEBUG:
     31    nenv.Append(CFLAGS = "-ggdb -pedantic -Wall -std=gnu99")
     32    nenv.Append(CPPPATH=['../include', 'include'])
     33    nenv.python_cppflags = '-I/usr/include/python2.5_d'
     34else:
     35    nenv.Append(CFLAGS = "-ggdb -pedantic -Wall")
     36    nenv.Append(CPPPATH=['../include', 'include'])
     37   
    3138nenv.Append(LIBPATH="../lib")
    3239nenv.Append(LINKFLAGS="")
Note: See TracChangeset for help on using the changeset viewer.