> Module Name: src > Committed By: pooka > Date: Mon Dec 10 20:58:55 UTC 2012 > > Modified Files: > src/share/mk: bsd.gcc.mk > > Log Message: > Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also, > handle "missing" crtstuff internally instead of depending on external > intervention.
what is this change for? using sed here is wrong, irrespective of the comment reason you've given. if TOOL_SED isn't available, we shouldn't even be processing this file yet. that seems like the fix you should look for here. what is this EXTERNAL_TOOLCHAIN you're using? i'm totally at a loss what this change is useful for besides re-adding a host dependancy on sed. .mrg. ps: you didn't quote periods in your sed expressions.