Explorar el 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 hace 10 años
padre
commit
f421e83c9a
Se han modificado 1 ficheros con 1 adiciones y 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;