Browse Source

Use -KPIC option without space as older GNU as only seem to support that version

git-svn-id: trunk@22606 -
pierre 13 years ago
parent
commit
82cc913b06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/assemble.pas

+ 1 - 1
compiler/assemble.pas

@@ -605,7 +605,7 @@ Implementation
            Replace(result,'$OBJ',maybequoted(ObjFileName));
            Replace(result,'$OBJ',maybequoted(ObjFileName));
          end;
          end;
          if (cs_create_pic in current_settings.moduleswitches) then
          if (cs_create_pic in current_settings.moduleswitches) then
-           Replace(result,'$PIC','-K PIC')
+           Replace(result,'$PIC','-KPIC')
          else
          else
            Replace(result,'$PIC','');
            Replace(result,'$PIC','');
          if (cs_asm_source in current_settings.globalswitches) then
          if (cs_asm_source in current_settings.globalswitches) then