SConstruct (6143:010490fd482a) | SConstruct (6157:eaf2fd8f54c0) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2009 The Hewlett-Packard Development Company 4# Copyright (c) 2004-2005 The Regents of The University of Michigan 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are --- 396 unchanged lines hidden (view full) --- 405 main.Append(CCFLAGS='-library=stlport4') 406 main.Append(CCFLAGS='-xar') 407 #main.Append(CCFLAGS='-instances=semiexplicit') 408else: 409 print 'Error: Don\'t know what compiler options to use for your compiler.' 410 print ' Please fix SConstruct and src/SConscript and try again.' 411 Exit(1) 412 | 1# -*- mode:python -*- 2 3# Copyright (c) 2009 The Hewlett-Packard Development Company 4# Copyright (c) 2004-2005 The Regents of The University of Michigan 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are --- 396 unchanged lines hidden (view full) --- 405 main.Append(CCFLAGS='-library=stlport4') 406 main.Append(CCFLAGS='-xar') 407 #main.Append(CCFLAGS='-instances=semiexplicit') 408else: 409 print 'Error: Don\'t know what compiler options to use for your compiler.' 410 print ' Please fix SConstruct and src/SConscript and try again.' 411 Exit(1) 412 |
413# Set up common yacc/bison flags (needed for Ruby) 414main['YACCFLAGS'] = '-d' 415main['YACCHXXFILESUFFIX'] = '.hh' 416 |
|
413# Do this after we save setting back, or else we'll tack on an 414# extra 'qdo' every time we run scons. 415if main['BATCH']: 416 main['CC'] = main['BATCH_CMD'] + ' ' + main['CC'] 417 main['CXX'] = main['BATCH_CMD'] + ' ' + main['CXX'] 418 main['AS'] = main['BATCH_CMD'] + ' ' + main['AS'] 419 main['AR'] = main['BATCH_CMD'] + ' ' + main['AR'] 420 main['RANLIB'] = main['BATCH_CMD'] + ' ' + main['RANLIB'] --- 481 unchanged lines hidden --- | 417# Do this after we save setting back, or else we'll tack on an 418# extra 'qdo' every time we run scons. 419if main['BATCH']: 420 main['CC'] = main['BATCH_CMD'] + ' ' + main['CC'] 421 main['CXX'] = main['BATCH_CMD'] + ' ' + main['CXX'] 422 main['AS'] = main['BATCH_CMD'] + ' ' + main['AS'] 423 main['AR'] = main['BATCH_CMD'] + ' ' + main['AR'] 424 main['RANLIB'] = main['BATCH_CMD'] + ' ' + main['RANLIB'] --- 481 unchanged lines hidden --- |