summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/sh/Makefile')
-rw-r--r--usr/src/cmd/sh/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/sh/Makefile b/usr/src/cmd/sh/Makefile
index bb8852b978..bbece1910b 100644
--- a/usr/src/cmd/sh/Makefile
+++ b/usr/src/cmd/sh/Makefile
@@ -51,7 +51,7 @@ CERRWARN += -_gcc=-Wno-unused-variable
SMATCH=off
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
-LDFLAGS += $(MAPFILES:%=-M%)
+LDFLAGS += $(MAPFILES:%=-Wl,-M%)
LDLIBS += -lgen
.KEEP_STATE:
@@ -74,9 +74,7 @@ install: all $(ROOTHASBINPROG)
$(RM) $(ROOTHASLIB)/rsh
$(SYMLINK) ../bin/sh $(ROOTHASLIB)/rsh
-clean:
+clean:
$(RM) $(OBJS)
-lint: lint_SRCS
-
include ../Makefile.targ