mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
pass new asm extra opt using -ao option
git-svn-id: trunk@26540 -
This commit is contained in:
parent
6d4a9aad66
commit
441b9feffc
@ -687,7 +687,8 @@ implementation
|
||||
if cs_asm_extern in current_settings.globalswitches then
|
||||
Replace(result,'$JASMINJAR',maybequoted(ScriptFixFileName(jasminjar)))
|
||||
else
|
||||
Replace(result,'$JASMINJAR',ScriptFixFileName(jasminjar))
|
||||
Replace(result,'$JASMINJAR',ScriptFixFileName(jasminjar));
|
||||
Replace(result,'$EXTRAOPT',asmextraopt);
|
||||
end;
|
||||
|
||||
|
||||
@ -1223,7 +1224,7 @@ implementation
|
||||
id : as_jvm_jasmin;
|
||||
idtxt : 'Jasmin';
|
||||
asmbin : 'java';
|
||||
asmcmd : '-jar $JASMINJAR $ASM -d $OBJDIR';
|
||||
asmcmd : '-jar $JASMINJAR $ASM $EXTRAOPT -d $OBJDIR';
|
||||
supported_targets : [system_jvm_java32,system_jvm_android32];
|
||||
flags : [];
|
||||
labelprefix : 'L';
|
||||
|
@ -606,6 +606,7 @@ Implementation
|
||||
Replace(result,'$NOWARN','')
|
||||
else
|
||||
Replace(result,'$NOWARN','-W');
|
||||
Replace(result,'$EXTRAOPT',asmextraopt);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user