Browse Source

* some fixes to keep fppkg happy

git-svn-id: trunk@2689 -
marco 19 years ago
parent
commit
74cc89f41a
1 changed files with 7 additions and 2 deletions
  1. 7 2
      rtl/netbsd/Makefile.fpc

+ 7 - 2
rtl/netbsd/Makefile.fpc

@@ -16,8 +16,7 @@ units=$(SYSTEMUNIT) objpas macpas strings syscall baseunix \
       sysutils classes typinfo math varutils \
       sysutils classes typinfo math varutils \
        charset ucomplex getopts heaptrc lineinfo \
        charset ucomplex getopts heaptrc lineinfo \
       errors sockets gpm ipc terminfo \
       errors sockets gpm ipc terminfo \
-      video mouse keyboard  serial variants types systhrds sysctl sysconst
-units_netbsd_i386=mmx cpu
+      video mouse keyboard  serial variants types systhrds sysctl sysconst $(CPU_UNITS)
 rsts=math varutils typinfo variants classes sysconst
 rsts=math varutils typinfo variants classes sysconst
 
 
 [require]
 [require]
@@ -86,6 +85,12 @@ ifndef USELIBGGI
 USELIBGGI=NO
 USELIBGGI=NO
 endif
 endif
 
 
+ifeq ($(CPU_TARGET),i386)
+CPU_UNITS=x86 ports cpu mmx
+else
+CPU_UNITS=
+endif
+
 
 
 [rules]
 [rules]
 # Get the system independent include file names.
 # Get the system independent include file names.