2
0
Эх сурвалжийг харах

* only try to use objdump to extract symbol liveness information if the
target OS is Linux, since it's not supported on other platforms for that
purpose

git-svn-id: trunk@20739 -

Jonas Maebe 13 жил өмнө
parent
commit
c4d80a8a10
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      compiler/optdead.pas

+ 2 - 1
compiler/optdead.pas

@@ -351,7 +351,8 @@ const
       { regular nm }
       if not symbolprogfound then
         symbolprogfound:=findutil('nm',nmfullname,symbolprogfullpath);
-      if not symbolprogfound then
+      if not symbolprogfound and
+         (target_info.system in systems_linux) then
         begin
           { try objdump }
           symbolprogfound:=findutil('objdump',objdumpfullname,symbolprogfullpath);