2
0
Эх сурвалжийг харах

* enable the assembler by default in hermes.pp

git-svn-id: trunk@23015 -
nickysn 12 жил өмнө
parent
commit
8222b8d956

+ 9 - 9
packages/hermes/Makefile.fpc.fpcmake

@@ -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=.

+ 8 - 0
packages/hermes/src/hermes.pp

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