Browse Source

* no smartlinking for powerpc-linux

peter 20 years ago
parent
commit
2a9658aa6c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      packages/extra/gtk2/gtk+/gtk/gtk2.pas

+ 8 - 0
packages/extra/gtk2/gtk+/gtk/gtk2.pas

@@ -20,6 +20,14 @@ unit gtk2; // keep unit name lowercase for kylix
 
 {$define GTK2_2}
 
+{ Smartlinking has problems on powerpc-linux because of commandline length, disable
+  it for now }
+{$ifdef powerpc}
+  {$ifdef linux}
+    {$smartlink off}
+  {$endif}
+{$endif}
+
 {$H+}
 {$IFDEF FPC}
   {$mode objfpc}