Rules

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Fri Nov 27 02:48:00 GMT 1998


Philip Blundell <pb@nexus.co.uk> writes:

|> Does anybody see a problem with this patch?  The intention is to allow 
|> Makerules to call extra-lib.mk before mentioning $(others), so that if a 
|> program in $(others) depends on a library in the same directory's 
|> $(extra-libs-others) the library will get built first.  The particular case in 
|> point is nss/getent when compiling with static NSS.

If you need to build something before something other you must write a
dependency for this.  Just changing the order of rules does not work,
because the order of rules has no meaning in parallel builds.

Andreas.



More information about the Libc-hacker mailing list