summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/i86pc/Makefile.rules')
-rw-r--r--usr/src/uts/i86pc/Makefile.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/Makefile.rules b/usr/src/uts/i86pc/Makefile.rules
index fe6042a1e8..ff68c02eba 100644
--- a/usr/src/uts/i86pc/Makefile.rules
+++ b/usr/src/uts/i86pc/Makefile.rules
@@ -21,6 +21,7 @@
#
# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
#
# This Makefile defines the build rules for the directory uts/i86pc
@@ -306,7 +307,7 @@ $(OBJS_DIR)/%.o: $(SRC)/common/atomic/$(ATOMIC_SUBDIR)/%.s
$(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS)
$(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
- $(UNIQ) | $(NAWK) '{ \
+ $(UNIQ) | $(AWK) '{ \
printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
$$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s