Changeset 202 for trunk/python2/SConstruct
- Timestamp:
- 06/06/10 20:36:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python2/SConstruct
r199 r202 29 29 nenv.config = config 30 30 if config.DEBUG: 31 nenv.Append(CFLAGS = "- ggdb -O0 -pedantic -Wall -std=gnu99")31 nenv.Append(CFLAGS = "-std=gnu99 -pedantic -Wall -fPIC -ggdb -O0") 32 32 nenv.Append(CPPPATH=['../include', 'include']) 33 33 nenv.python_cppflags = '-I/usr/include/python2.5_d' 34 34 else: 35 nenv.Append(CFLAGS = "- ggdb -pedantic -Wall")35 nenv.Append(CFLAGS = "-std=gnu99 -pedantic -Wall -fPIC") 36 36 nenv.Append(CPPPATH=['../include', 'include']) 37 37 38 38 nenv.Append(LIBPATH="../lib") 39 39 nenv.Append(LINKFLAGS="") 40 # XXX: why should I need to call regfi_init() when it should be called only once automatically? 40 41 nenv.Command('regfi/pyregfi.c', BOUND_FILES, partial(build_python_bindings, 41 initialization='pyregfi_init(); '))42 initialization='pyregfi_init();regfi_init();')) 42 43 nenv.Depends('regfi/pyregfi.c', 'class_parser.py') 43 44
Note: See TracChangeset
for help on using the changeset viewer.