Explorar o código

Fix condition for compilation and running of gdbver executable

git-svn-id: trunk@23078 -
pierre %!s(int64=12) %!d(string=hai) anos
pai
achega
4a9dcfe0b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/gdbint/fpmake.pp

+ 1 - 1
packages/gdbint/fpmake.pp

@@ -58,7 +58,7 @@ begin
   // gdb-version is not possible, unless a i386-win32 to i386-go32v2 compilation
   // is performed.
   if GdbLibFound and
-     (Defaults.IsBuildDifferentFromTarget
+     (not Defaults.IsBuildDifferentFromTarget
        or ((Defaults.CPU=i386) and (Defaults.OS=go32v2) and (Defaults.BuildOS=win32) and (Defaults.BuildCPU=i386))) then
     begin
       P.Options.Add('-Fl'+GdbLibDir);