be needed
Se te dará información cuando haga falta.
You will be given information when needed.
Viviré en su despacho el tiempo que haga falta.
I'll live in your office for as long as it takes.
No, unless it’s necessary.
La pelea durará cuanto haga falta.
The fight will last as long as necessary.
— El club de la lucha (1999)
Todo el tiempo que haga falta.
For as long as it takes.