mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 13:28:05 +02:00
* wlib: Explicitly specify the smallest possible record align to reduce the size of .a files.
git-svn-id: trunk@46462 -
This commit is contained in:
parent
f72f021da4
commit
324deca817
@ -882,7 +882,7 @@ Implementation
|
||||
if (target_ar.id in [ar_gnu_ar_scripted,ar_sdcc_sdar_scripted]) then
|
||||
writeln(script, 'CREATE ' + current_module.staticlibfilename)
|
||||
else { wlib case }
|
||||
writeln(script,'-q -fo -c -b '+
|
||||
writeln(script,'-q -p=16 -fo -c -b '+
|
||||
maybequoted(current_module.staticlibfilename));
|
||||
current := TCmdStrListItem(SmartLinkOFiles.First);
|
||||
while current <> nil do
|
||||
@ -1743,8 +1743,8 @@ Implementation
|
||||
ar_watcom_wlib_omf_info : tarinfo =
|
||||
( id : ar_watcom_wlib_omf;
|
||||
addfilecmd : '+';
|
||||
arfirstcmd : 'wlib -q -fo -c -b -n -o=$OUTPUTLIB $LIB $FILES';
|
||||
arcmd : 'wlib -q -fo -c -b -o=$OUTPUTLIB $LIB $FILES';
|
||||
arfirstcmd : 'wlib -q -p=16 -fo -c -b -n -o=$OUTPUTLIB $LIB $FILES';
|
||||
arcmd : 'wlib -q -p=16 -fo -c -b -o=$OUTPUTLIB $LIB $FILES';
|
||||
arfinishcmd : ''
|
||||
);
|
||||
|
||||
|
@ -100,8 +100,8 @@ interface
|
||||
tarinfo = record
|
||||
id : tar;
|
||||
addfilecmd : string[10];
|
||||
arfirstcmd : string[50];
|
||||
arcmd : string[50];
|
||||
arfirstcmd : string[60];
|
||||
arcmd : string[60];
|
||||
arfinishcmd : string[11];
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user