mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-07 22:59:36 +01:00
Use -K PIC instead of -KPIC for pic mode
git-svn-id: trunk@22474 -
This commit is contained in:
parent
fbd5d13b9f
commit
0ed6c20451
@ -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','-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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user