Added clang support. A lot of the motion here is introducing a new offsetof because clang's seems broken?
1 # vim: set ts=2 sw=2 tw=99 noet:
3 import ambuild.runner as runner
6 run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug',
7 help='Enable debugging symbols')
8 run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt',
9 help='Enable optimization')
10 run.options.add_option('--arch', dest='arch', help='Architecture (x86, x64)')
11 run.Configure(sys.path[0])