Browse Source

* x86_64 added

peter 21 years ago
parent
commit
fef0938d43
2 changed files with 9 additions and 3 deletions
  1. 5 2
      ide/compiler/Makefile
  2. 4 1
      ide/compiler/Makefile.fpc

+ 5 - 2
ide/compiler/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2004/04/21]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2004/04/22]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom
@@ -224,9 +224,12 @@ override FPCOPT+=-dBrowserCol -dGDB
 ifeq ($(CPU_TARGET),i386)
 override FPCOPT+= -Fu$(COMPILERDIR)/x86
 endif
+ifeq ($(CPU_TARGET),x86_64)
+override FPCOPT+= -Fu$(COMPILERDIR)/x86 -dNOOPT
+endif
 override TARGET_UNITS+=compunit
 override INSTALL_FPCPACKAGE=y
-override COMPILER_OPTIONS+=-Ur
+override COMPILER_OPTIONS+=-Ur -dNOCATCH
 override COMPILER_INCLUDEDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(CPU_TARGET)
 override COMPILER_UNITDIR+=$(COMPILERDIR) $(COMPILERDIR)/$(CPU_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
 override COMPILER_TARGETDIR+=.

+ 4 - 1
ide/compiler/Makefile.fpc

@@ -6,7 +6,7 @@
 units=compunit
 
 [compiler]
-options=-Ur
+options=-Ur -dNOCATCH
 targetdir=.
 unitdir=$(COMPILERDIR) $(COMPILERDIR)/$(CPU_TARGET) $(COMPILERDIR)/targets $(COMPILERDIR)/systems
 includedir=$(COMPILERDIR) $(COMPILERDIR)/$(CPU_TARGET)
@@ -35,6 +35,9 @@ ifeq ($(CPU_TARGET),i386)
 override FPCOPT+= -Fu$(COMPILERDIR)/x86
 #-dSUPPORT_MMX
 endif
+ifeq ($(CPU_TARGET),x86_64)
+override FPCOPT+= -Fu$(COMPILERDIR)/x86 -dNOOPT
+endif
 
 [rules]
 .PHONY: compiler_ppuclean all clean install