Bläddra i källkod

Fix condition for compilation and running of gdbver executable

git-svn-id: trunk@23078 -
pierre 12 år sedan
förälder
incheckning
4a9dcfe0b8
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
   // gdb-version is not possible, unless a i386-win32 to i386-go32v2 compilation
   // is performed.
   // is performed.
   if GdbLibFound and
   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
        or ((Defaults.CPU=i386) and (Defaults.OS=go32v2) and (Defaults.BuildOS=win32) and (Defaults.BuildCPU=i386))) then
     begin
     begin
       P.Options.Add('-Fl'+GdbLibDir);
       P.Options.Add('-Fl'+GdbLibDir);