mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 21:11:28 +01:00
825700d34a
Previously --update was kind of a hack, as it just dumped all the variables from BuildConfig back into ./configure and attempted to rerun from there. Instead, now we store all of the variables and environs configure was invoked with in the top of BuildConfig and re-call it using them. This is much more robust, as configure will actually recompute all of the values from the BuildConfig. As a side effect, if configure was originally invoked to build crosstools, it would have done so again, so instead add a check to see if they exist, and skip them if they do. It's easy enough to delete the directory if you want to force a crosstools rebuild. Briefly discussed with mmlr on IRC.