浏览代码

* fixed for darwin

git-svn-id: trunk@3413 -
Jonas Maebe 19 年之前
父节点
当前提交
da3d22e11e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/aggas.pas

+ 2 - 1
compiler/aggas.pas

@@ -279,7 +279,8 @@ implementation
         { For bss we need to set some flags that are target dependent,
           it is easier to disable it for smartlinking. It doesn't take up
           filespace }
-        if use_smartlink_section and
+        if not(target_info.system in [system_powerpc_darwin,system_i386_darwin]) and
+           use_smartlink_section and
            (aname<>'') and
            (atype<>sec_bss) then
           result:=secname+'.'+aname