diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-01-21 00:19:17 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-01-21 00:19:17 +0000 |
commit | 60b174d5fe12b3d65c5de1d0d4bd4d2bb6f68aac (patch) | |
tree | 45ca75b08df6a4bdc34de800fa1bf79e80af80f5 /compiler/powerpc | |
parent | 46857b4fb9fa2251abff2f48717281ac83da620a (diff) | |
download | fpc-60b174d5fe12b3d65c5de1d0d4bd4d2bb6f68aac.tar.gz |
Handle asmextraopt in powerpc, mips and sparc assemblers
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26542 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/powerpc')
-rw-r--r-- | compiler/powerpc/agppcvasm.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/powerpc/agppcvasm.pas b/compiler/powerpc/agppcvasm.pas index ca4eec6127..39e93ad29d 100644 --- a/compiler/powerpc/agppcvasm.pas +++ b/compiler/powerpc/agppcvasm.pas @@ -379,6 +379,7 @@ unit agppcvasm; Replace(result,'$ASM',maybequoted(Unix2AmigaPath(AsmFileName))); Replace(result,'$OBJ',maybequoted(Unix2AmigaPath(ObjFileName))); end; + Replace(result,'$EXTRAOPT',asmextraopt); end; @@ -394,7 +395,7 @@ unit agppcvasm; idtxt : 'VASM'; asmbin : 'fpcvasm'; - asmcmd: '-quiet -Felf -o $OBJ $ASM'; + asmcmd: '-quiet -Felf -o $OBJ $EXTRAOPT $ASM'; supported_targets : [system_powerpc_morphos]; flags : [af_needar,af_smartlink_sections]; labelprefix : '.L'; |