Use -K PIC instead of -KPIC for pic mode

git-svn-id: trunk@22474 -
This commit is contained in:
pierre 2012-09-27 15:42:35 +00:00
parent fbd5d13b9f
commit 0ed6c20451

View File

@ -605,13 +605,13 @@ 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','-KPIC') Replace(result,'$PIC','-K PIC');
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
Replace(result,'$NOWARN','') Replace(result,'$NOWARN','')
else else
Replace(result,'$NOWARN','-W'); Replace(result,'$NOWARN','-W');
end; end;