diff options
author | Iain Sandoe <iain@codesourcery.com> | 2015-10-18 14:31:25 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2015-10-18 14:31:25 +0000 |
commit | 45c3fea9baf7690791680ad24eacc01376b6dbd3 (patch) | |
tree | 65e64d7f9e401cd163ce8b733da14a44e452cf1d /gcc/config/darwin.opt | |
parent | efd40fc4161967fa7e0503f12162c8b28c85d632 (diff) | |
download | gcc-45c3fea9baf7690791680ad24eacc01376b6dbd3.zip gcc-45c3fea9baf7690791680ad24eacc01376b6dbd3.tar.gz gcc-45c3fea9baf7690791680ad24eacc01376b6dbd3.tar.bz2 |
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
Diffstat (limited to 'gcc/config/darwin.opt')
-rw-r--r-- | gcc/config/darwin.opt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/darwin.opt b/gcc/config/darwin.opt index 5ab0e5c..eb1afe7 100644 --- a/gcc/config/darwin.opt +++ b/gcc/config/darwin.opt @@ -226,10 +226,9 @@ Generate code suitable for fast turn around debugging ; The Init here is for the convenience of GCC developers, so that cc1 ; and cc1plus don't crash if no -mmacosx-version-min is passed. The ; driver will always pass a -mmacosx-version-min, so in normal use the -; Init is never used. Useful for setting the OS on which people -; usually debug. +; Init is never used. mmacosx-version-min= -Target Joined Report Var(darwin_macosx_version_min) Init("10.6") +Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION) The earliest MacOS X version on which this program will run mone-byte-bool |