diff options
| author | Bernard Xiong <[email protected]> | 2014-10-08 13:32:08 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-10-08 13:32:08 +0800 |
| commit | 08bcf51bb46e3f615e15e675b5b0ca6380dabd54 (patch) | |
| tree | fc158d289598157a41ae626d9d60541781b3900e | |
| parent | 7a64d1ff1cd283097cea007465170b7e361b267a (diff) | |
| parent | 2c5eea4c21ea66f711974ab6ce1048337f7b9efc (diff) | |
Merge pull request #349 from grissiom/fix-tools
tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
| -rw-r--r-- | tools/building.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/building.py b/tools/building.py index caa48d96ae..24f661de88 100644 --- a/tools/building.py +++ b/tools/building.py @@ -437,12 +437,6 @@ def DoBuilding(target, objects): break else: - # merge the repeated items in the Env - if Env.has_key('CPPPATH') : Env['CPPPATH'] = list(set(Env['CPPPATH'])) - if Env.has_key('CPPDEFINES'): Env['CPPDEFINES'] = list(set(Env['CPPDEFINES'])) - if Env.has_key('LIBPATH') : Env['LIBPATH'] = list(set(Env['LIBPATH'])) - if Env.has_key('LIBS') : Env['LIBS'] = list(set(Env['LIBS'])) - program = Env.Program(target, objects) EndBuilding(target, program) |
