summaryrefslogtreecommitdiff
path: root/usr/src/uts/Makefile.targ
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/Makefile.targ')
-rw-r--r--usr/src/uts/Makefile.targ2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/Makefile.targ b/usr/src/uts/Makefile.targ
index a24aeea518..7e6896a508 100644
--- a/usr/src/uts/Makefile.targ
+++ b/usr/src/uts/Makefile.targ
@@ -48,7 +48,7 @@ $(OBJECTS): $(INLINES)
# on modstubs simplifies things...
#
$(BINARY): $(OBJECTS) $(DTRACE_MAPFILE) $(MAPFILE)
- $(LD) -r $(LDFLAGS) -o $@ $(OBJECTS)
+ $(LD) -ztype=kmod $(LDFLAGS) -o $@ $(OBJECTS)
$(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX)
$(POST_PROCESS)