Explorar o código

- don't allow setting the OS X version (-WM) for Darwin/ARM or Darwin/AArch64
for now (it's all iOS)

git-svn-id: trunk@29969 -

Jonas Maebe %!s(int64=10) %!d(string=hai) anos
pai
achega
f421e83c9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -2207,7 +2207,7 @@ begin
                       end;
                     'M':
                       begin
-                        if (target_info.system in (systems_darwin-[system_i386_iphonesim])) and
+                        if (target_info.system in (systems_darwin-[system_i386_iphonesim,system_arm_darwin,system_aarch64_darwin])) and
                            ParseMacVersionMin(MacOSXVersionMin,iPhoneOSVersionMin,'MAC_OS_X_VERSION_MIN_REQUIRED',copy(More,2,255),false) then
                           begin
                             break;