OLD | NEW |
---|---|
1 # Copyright 2008, Google Inc. | 1 # Copyright 2008, Google Inc. |
2 # All rights reserved. | 2 # All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
341 '-Wno-switch', # TODO: this is likely masking real bugs. | 341 '-Wno-switch', # TODO: this is likely masking real bugs. |
342 '-Wno-sign-compare', # TODO: this is likely masking real bugs. | 342 '-Wno-sign-compare', # TODO: this is likely masking real bugs. |
343 '-Wno-missing-braces', # TODO: just a file in net. | 343 '-Wno-missing-braces', # TODO: just a file in net. |
344 | 344 |
345 # Not TODO: This is technically nonstandard, but a lot of the image | 345 # Not TODO: This is technically nonstandard, but a lot of the image |
346 # decoding code depends on it and osx wants this. | 346 # decoding code depends on it and osx wants this. |
347 '-Wno-multichar', | 347 '-Wno-multichar', |
348 ] | 348 ] |
349 env.Replace( | 349 env.Replace( |
350 CCFLAGS = ['-m32', '-g', '-pthread', '-Wall', '-Werror'] + excluded_warnin gs, | 350 CCFLAGS = ['-m32', '-g', '-pthread', '-Wall', '-Werror'] + excluded_warnin gs, |
351 # Needed for using ext/hash_map on GCC 4.3 | |
352 CXXFLAGS = ['-Wno-deprecated'], | |
Evan Martin
2008/09/03 00:10:16
Can you stick this flag up in the group of exclude
| |
351 LINKFLAGS = ['-m32', '-pthread'], | 353 LINKFLAGS = ['-m32', '-pthread'], |
352 # We need rt for clock_gettime. | 354 # We need rt for clock_gettime. |
353 LIBS = ['rt'], | 355 LIBS = ['rt'], |
354 | 356 |
355 PERL = '/usr/bin/perl', | 357 PERL = '/usr/bin/perl', |
356 PERL_INCLUDE_FLAG = '-I ', | 358 PERL_INCLUDE_FLAG = '-I ', |
357 PERL_INCLUDE_SUFFIX = '', | 359 PERL_INCLUDE_SUFFIX = '', |
358 _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, ' | 360 _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, ' |
359 'PERL_INCLUDE_PATH, ' | 361 'PERL_INCLUDE_PATH, ' |
360 'PERL_INCLUDE_SUFFIX,' | 362 'PERL_INCLUDE_SUFFIX,' |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 initial_indent = ' '*32, | 502 initial_indent = ' '*32, |
501 subsequent_indent = ' '*32, | 503 subsequent_indent = ' '*32, |
502 ) | 504 ) |
503 components = tw.fill(', '.join(components)) | 505 components = tw.fill(', '.join(components)) |
504 | 506 |
505 Help(help_fmt % components) | 507 Help(help_fmt % components) |
506 | 508 |
507 | 509 |
508 Import('build_component') | 510 Import('build_component') |
509 Default(build_component) | 511 Default(build_component) |
OLD | NEW |