make darwin port a little more cross & cross native build friendly.
authorIain Sandoe <iains@gcc.gnu.org>
Thu, 8 Sep 2011 07:28:11 +0000 (07:28 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 8 Sep 2011 07:28:11 +0000 (07:28 +0000)
commit558c362ad07e050c56a3439a5c99ce8683c2e30a
tree06d697fa843ff19e4d248a5c918961536bab857e
parent8c6a85e33bc6029579949a76acbb0590463d7c8b
make darwin port a little more cross & cross native build friendly.

*config/darwin-driver.c (darwin_find_version_from_kernel): New routine
cut from ... (darwin_default_min_version): Amended to provide defaults
for the cross directory case.
(darwin_driver_init): call darwin_default_min_version unconditionally.
* config/darwin.h (DEF_MIN_OSX_VERSION): New.
* config/darwin9.h: Likewise.
* config/darwin10.h: Likewise.
* config/rs6000/darwin7.h: Likewise.

From-SVN: r178679
gcc/ChangeLog
gcc/config/darwin-driver.c
gcc/config/darwin.h
gcc/config/darwin10.h
gcc/config/darwin9.h
gcc/config/rs6000/darwin7.h