diff options
Diffstat (limited to 'gcc/config/rs6000/darwin.h')
-rw-r--r-- | gcc/config/rs6000/darwin.h | 9 |
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 |