- 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 -
This commit is contained in:
Jonas Maebe 2015-02-23 22:56:06 +00:00
parent 07f31d560c
commit f421e83c9a

View File

@ -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;