summaryrefslogtreecommitdiff
path: root/ufs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/Makefile')
-rw-r--r--ufs/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/ufs/Makefile b/ufs/Makefile
index 14a1260c..79b8f45e 100644
--- a/ufs/Makefile
+++ b/ufs/Makefile
@@ -38,10 +38,9 @@ LIBPARTS = $(libdiskfs) $(libports) $(libpager) $(libioserver) $(libfshelp)
all: ufs
-LDFLAGS=--no-keep-memory
-
+# Don't use $^ in this rule; it will omit the duplicates in $(LIBS).
ufs: $(OBJS) $(LIBS)
- $(link)
+ $(CC) -Xlinker --no-keep-memory $(CFLAGS) -o $@ $(OBJS) $(LIBS)
exec_server_image.o: ../exec/exec ../mkbootfs/mkbootfs
rsh $(mighost) -n cd `pwd` \; \