Print this page
8410 ucoreadm links against libraries outside the proto area
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Toomas Soome <tsoome@me.com>

@@ -20,10 +20,12 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2017 RackTop Systems.
+#
 
 PROG = ucodeadm
 
 PROG_OBJS = ucodeadm.o ucode_errno.o
 COMMON_OBJS = ucode_utils.o

@@ -48,11 +50,11 @@
 CFLAGS  += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-type-limits
 LINTFLAGS += -errtags -erroff=E_NAME_DEF_NOT_USED2
 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2,E_INCONS_VAL_TYPE_DECL2
-LDLIBS = -lgen
+LDLIBS += -lgen
 
 DIRMODE = 0755
 FILEMODE = 0555
 
 $(ROOTINTELUCODE) := FILEMODE = 0444