浏览代码

compiler: also skip crt1.o for osx 10.9

git-svn-id: trunk@25852 -
paul 11 年之前
父节点
当前提交
43b9308929
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/systems/t_bsd.pas

+ 2 - 0
compiler/systems/t_bsd.pas

@@ -231,6 +231,8 @@ begin
       if not(cs_profile in current_settings.moduleswitches) then
         begin
           { 10.8 and later: no crt1.* }
+          if CompareVersionStrings(MacOSXVersionMin,'10.9')>=0 then
+            exit('');
           if CompareVersionStrings(MacOSXVersionMin,'10.8')>=0 then
             exit('');
           { x86: crt1.10.6.o -> crt1.10.5.o -> crt1.o }