瀏覽代碼

* errno from freebsd dir, not Unix dir.

marco 22 年之前
父節點
當前提交
c4427e2b82
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 4 4
      rtl/linux/Makefile
  2. 1 1
      rtl/linux/Makefile.fpc

+ 4 - 4
rtl/linux/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/01]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/05/17]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx emx
@@ -32,7 +32,7 @@ inOS2=1
 endif
 endif
 else
-ifneq ($(findstring cygwin,$(MACHTYPE)),)
+ifneq ($(findstring cygdrive,$(PATH)),)
 inCygWin=1
 endif
 endif
@@ -1005,7 +1005,7 @@ override COMPILER:=$(FPC) $(FPCOPT)
 ifeq (,$(findstring -s ,$(COMPILER)))
 EXECPPAS=
 else
-ifeq ($(OS_SOURCE),$(OS_TARGET))
+ifeq ($(FULL_SOURCE),$(FULL_TARGET))
 EXECPPAS:=@$(PPAS)
 endif
 endif
@@ -1330,7 +1330,7 @@ strings$(PPUEXT) : $(INC)/strings.pp $(INC)/stringsi.inc\
 unix$(PPUEXT) : unix.pp strings$(PPUEXT) $(INC)/textrec.inc $(INC)/filerec.inc \
 		 syscalls.inc systypes.inc sysconst.inc $(UNIXINC)/timezone.inc $(SYSTEMUNIT)$(PPUEXT) \
 		 unixsysc.inc
-baseunix$(PPUEXT) : $(UNIXINC)/errno.inc bunxtype.inc ptypes.inc ctypes.inc \
+baseunix$(PPUEXT) : errno.inc bunxtype.inc ptypes.inc ctypes.inc \
 	signal.inc $(UNIXINC)/bunxh.inc bunxmain.inc ostypes.inc \
 	bunxfunc.inc $(CPU_TARGET)/syscallh.inc sysnr.inc \
 	ostypes.inc ossysch.inc bunxmacr.inc $(UNIXINC)/gensigset.inc \

+ 1 - 1
rtl/linux/Makefile.fpc

@@ -155,7 +155,7 @@ unix$(PPUEXT) : unix.pp strings$(PPUEXT) $(INC)/textrec.inc $(INC)/filerec.inc \
                  syscalls.inc systypes.inc sysconst.inc $(UNIXINC)/timezone.inc $(SYSTEMUNIT)$(PPUEXT) \
                  unixsysc.inc
 
-baseunix$(PPUEXT) : $(UNIXINC)/errno.inc bunxtype.inc ptypes.inc ctypes.inc \
+baseunix$(PPUEXT) : errno.inc bunxtype.inc ptypes.inc ctypes.inc \
 	signal.inc $(UNIXINC)/bunxh.inc bunxmain.inc ostypes.inc \
 	bunxfunc.inc $(CPU_TARGET)/syscallh.inc sysnr.inc \
 	ostypes.inc ossysch.inc bunxmacr.inc $(UNIXINC)/gensigset.inc \