Ignore:
Timestamp:
06/06/10 20:36:27 (14 years ago)
Author:
tim
Message:

began implementing independent python subkey and value iterators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python2/SConstruct

    r199 r202  
    2929nenv.config = config
    3030if config.DEBUG:
    31     nenv.Append(CFLAGS = "-ggdb -O0 -pedantic -Wall -std=gnu99")
     31    nenv.Append(CFLAGS = "-std=gnu99 -pedantic -Wall -fPIC -ggdb -O0")
    3232    nenv.Append(CPPPATH=['../include', 'include'])
    3333    nenv.python_cppflags = '-I/usr/include/python2.5_d'
    3434else:
    35     nenv.Append(CFLAGS = "-ggdb -pedantic -Wall")
     35    nenv.Append(CFLAGS = "-std=gnu99 -pedantic -Wall -fPIC")
    3636    nenv.Append(CPPPATH=['../include', 'include'])
    3737   
    3838nenv.Append(LIBPATH="../lib")
    3939nenv.Append(LINKFLAGS="")
     40# XXX: why should I need to call regfi_init() when it should be called only once automatically?
    4041nenv.Command('regfi/pyregfi.c', BOUND_FILES, partial(build_python_bindings,
    41                                                      initialization='pyregfi_init();'))
     42                                                     initialization='pyregfi_init();regfi_init();'))
    4243nenv.Depends('regfi/pyregfi.c', 'class_parser.py')
    4344
Note: See TracChangeset for help on using the changeset viewer.