* enable the assembler by default in hermes.pp

git-svn-id: trunk@23015 -
This commit is contained in:
nickysn 2012-11-18 15:46:32 +00:00
parent 31e5ac3836
commit 8222b8d956
2 changed files with 17 additions and 9 deletions

View File

@ -10,15 +10,15 @@ version=2.7.1
units=hermes
[compiler]
options_i386_linux=-dI386_ASSEMBLER
options_i386_win32=-dI386_ASSEMBLER
options_i386_go32v2=-dI386_ASSEMBLER
options_i386_freebsd=-dI386_ASSEMBLER
options_i386_haiku=-dI386_ASSEMBLER
options_i386_beos=-dI386_ASSEMBLER
options_x86_64_linux=-dX86_64_ASSEMBLER
options_x86_64_win64=-dX86_64_ASSEMBLER
options_x86_64_freebsd=-dX86_64_ASSEMBLER
#options_i386_linux=-dI386_ASSEMBLER
#options_i386_win32=-dI386_ASSEMBLER
#options_i386_go32v2=-dI386_ASSEMBLER
#options_i386_freebsd=-dI386_ASSEMBLER
#options_i386_haiku=-dI386_ASSEMBLER
#options_i386_beos=-dI386_ASSEMBLER
#options_x86_64_linux=-dX86_64_ASSEMBLER
#options_x86_64_win64=-dX86_64_ASSEMBLER
#options_x86_64_freebsd=-dX86_64_ASSEMBLER
unitdir=
targetdir=.

View File

@ -34,6 +34,14 @@ unit Hermes;
{$MODE objfpc}
{$IF defined(cpui386) and not defined(noassembler)}
{$DEFINE I386_ASSEMBLER}
{$ENDIF}
{$IF defined(cpux86_64) and not defined(noassembler)}
{$DEFINE X86_64_ASSEMBLER}
{$ENDIF}
interface
const