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));
end;
if (cs_create_pic in current_settings.moduleswitches) then
Replace(result,'$PIC','-KPIC')
Replace(result,'$PIC','-K PIC');
else
Replace(result,'$PIC','');
Replace(result,'$PIC','');
if (cs_asm_source in current_settings.globalswitches) then
Replace(result,'$NOWARN','')
else
Replace(result,'$NOWARN','-W');
Replace(result,'$NOWARN','')
else
Replace(result,'$NOWARN','-W');
end;