Print this page
11736 Stop using $VERSION for the genunix label
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

@@ -20,20 +20,22 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2019 Joyent, Inc.
+#
 
 ROOTTERMINFO = $(ROOTSHLIB)/terminfo
 
 $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
         $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
             $(KMDBLIBS)
 
 $(PROG): $(PROG).core $(KCTLOBJS)
         $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
-        $(CTFMERGE) -L VERSION -o $@ $(OBJS) $(KCTLOBJS)
+        $(CTFMERGE) -l "$(UTS_LABEL)" -o $@ $(OBJS) $(KCTLOBJS)
         $(KMDB_FPTEST)
         $(POST_PROCESS)
         $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
 
 clean.lint: