Darwin - Tidy mmacosx-version-min code and specs.
authorIain Sandoe <iain@codesourcery.com>
Sun, 18 Oct 2015 14:31:25 +0000 (14:31 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 18 Oct 2015 14:31:25 +0000 (14:31 +0000)
commit45c3fea9baf7690791680ad24eacc01376b6dbd3
tree65e64d7f9e401cd163ce8b733da14a44e452cf1d
parentefd40fc4161967fa7e0503f12162c8b28c85d632
Darwin - Tidy mmacosx-version-min code and specs.

gcc/

* config/darwin-driver.c (darwin_default_min_version): Refactor code.
(darwin_driver_init): Note a version-min when provided on the c/l.
* config/darwin.h (%darwin_minversion): Remove.
* config/i386/darwin.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/darwin.opt (mmacosx-version-min=): Use the configured default, rather than
an arbitrary constant.

From-SVN: r228944
gcc/ChangeLog
gcc/config/darwin-driver.c
gcc/config/darwin.h
gcc/config/darwin.opt
gcc/config/darwin12.h
gcc/config/i386/darwin.h
gcc/config/rs6000/darwin.h