mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 21:51:42 +02: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,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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user