瀏覽代碼

* include cpu_target unit dir

peter 25 年之前
父節點
當前提交
a8b982877b
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      compiler/Makefile
  2. 1 0
      compiler/Makefile.fpc

+ 1 - 0
compiler/Makefile

@@ -240,6 +240,7 @@ override NEEDOPT=-Sg
 
 
 # Directories
 # Directories
 
 
+override NEEDUNITDIR=$(CPU_TARGET)
 ifndef TARGETDIR
 ifndef TARGETDIR
 TARGETDIR=.
 TARGETDIR=.
 endif
 endif

+ 1 - 0
compiler/Makefile.fpc

@@ -5,6 +5,7 @@
 [dirs]
 [dirs]
 fpcdir=..
 fpcdir=..
 targetdir=.
 targetdir=.
+unitdir=$(CPU_TARGET)
 
 
 [install]
 [install]
 packagename=compiler
 packagename=compiler