aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/darwin.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-03-10 01:03:36 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-03-10 01:03:36 +0000
commit48137d59c3cf49628dee903213567c9556cb6adb (patch)
tree3d90d17a264baf824bedf4f6733f3e706c71f2e6 /gcc/config/rs6000/darwin.h
parent9b580a0b53a3e81eef0656670c4a4a09a5683b42 (diff)
downloadgcc-48137d59c3cf49628dee903213567c9556cb6adb.zip
gcc-48137d59c3cf49628dee903213567c9556cb6adb.tar.gz
gcc-48137d59c3cf49628dee903213567c9556cb6adb.tar.bz2
gcc.c: Document %{, in big comment at top.
* gcc.c: Document %{, in big comment at top. (input_suffix_matches): Remove special handling for .s and .S. (input_spec_matches): New. (handle_braces): Handle %{,. (validate_switches): ',' indicates a value which is not a switch. * config/alpha/osf.h (ASM_FINAL_SPEC): Use %{, rather than %{. to detect assembler input. * config/i386/sol2.h (CPP_SPEC): Likewise. * config/rs6000/sysv4.h (ASM_SPEC): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/rs6000/lynx.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Objective-C plus -m64 causes deployment target to default to 10.5. * config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Likewise. From-SVN: r122783
Diffstat (limited to 'gcc/config/rs6000/darwin.h')
-rw-r--r--gcc/config/rs6000/darwin.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index 6aa7d65..23e387b 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -122,9 +122,12 @@
"%{!m64:%:version-compare(!> 10.4 mmacosx-version-min= crt2.o%s)}"
/* Determine a minimum version based on compiler options. */
-#define DARWIN_MINVERSION_SPEC \
- "%{m64:10.4; \
- shared-libgcc:10.3; \
+#define DARWIN_MINVERSION_SPEC \
+ "%{m64:%{fgnu-runtime:10.4; \
+ ,objective-c|,objc-cpp-output:10.5; \
+ ,objective-c++|,objective-c++-cpp-output:10.5; \
+ :10.4}; \
+ shared-libgcc:10.3; \
:10.1}"
#undef SUBTARGET_EXTRA_SPECS