diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-18 14:31:25 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-18 14:31:25 +0000 |
commit | fb296c25e58fd612765c934545ecaf880eb94117 (patch) | |
tree | 65e64d7f9e401cd163ce8b733da14a44e452cf1d /gcc/config/darwin.opt | |
parent | fff1535d51bca70449fbdca481abd42a44974648 (diff) | |
download | gcc-fb296c25e58fd612765c934545ecaf880eb94117.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228944 138bc75d-0d04-0410-961f-82ee72b054a4
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 5ab0e5cfdfd..eb1afe73786 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 |