pass new asm extra opt using -ao option

git-svn-id: trunk@26540 -
This commit is contained in:
pierre 2014-01-21 00:16:53 +00:00
parent 6d4a9aad66
commit 441b9feffc
2 changed files with 4 additions and 2 deletions

View File

@ -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';

View File

@ -606,6 +606,7 @@ Implementation
Replace(result,'$NOWARN','')
else
Replace(result,'$NOWARN','-W');
Replace(result,'$EXTRAOPT',asmextraopt);
end;