Skip to content

Commit 8b8d69f

Browse files
committed
Merge pull request #350 from grissiom/fix-tools-stable
tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
2 parents 80b66ae + 84dcd2c commit 8b8d69f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tools/building.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,6 @@ def DoBuilding(target, objects):
435435

436436
break
437437
else:
438-
# merge the repeated items in the Env
439-
if Env.has_key('CPPPATH') : Env['CPPPATH'] = list(set(Env['CPPPATH']))
440-
if Env.has_key('CPPDEFINES'): Env['CPPDEFINES'] = list(set(Env['CPPDEFINES']))
441-
if Env.has_key('LIBPATH') : Env['LIBPATH'] = list(set(Env['LIBPATH']))
442-
if Env.has_key('LIBS') : Env['LIBS'] = list(set(Env['LIBS']))
443-
444438
program = Env.Program(target, objects)
445439

446440
EndBuilding(target, program)

0 commit comments

Comments
 (0)