Reverted the work-around introduced in r35619. It actually is harmful, since
it introduces cyclic dependencies. The .c files generated from the .def files include builtext.h, which is built together with builtins.c. So builtins.c can't depend on the generated .c files. Fixes #5750 for good. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36353 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -67,11 +67,6 @@ for bashDefFile in [ FGristFiles $(bashDefFiles) ] {
|
||||
MkBuiltinsComp $(source) : $(bashDefFile) ;
|
||||
}
|
||||
|
||||
# TODO: Work-around for a bug in jam. These dependencies aren't necessary, but
|
||||
# without them a jam run with multiple jobs sometimes tries to build builtins.o
|
||||
# before builtins.c has been built.
|
||||
Depends [ FGristFiles builtins.c ] : [ FGristFiles $(bashDefFiles:S=.c) ] ;
|
||||
|
||||
# generate builtext.h and builtins.c
|
||||
MkBuiltinsExt <bash>builtext.h [ FGristFiles builtins.c ] : $(bashDefFiles) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user