Print this page
7610 SGSPROTO bits are built without SONAME for some reason
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/Makefile.com
          +++ new/usr/src/cmd/sgs/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2016 RackTop Systems.
  24   25  #
  25   26  
  26   27  .KEEP_STATE:
  27   28  .KEEP_STATE_FILE: .make.state.$(MACH)
  28   29  
  29   30  
  30   31  include         $(SRC)/cmd/sgs/Makefile.var
  31   32  
  32   33  SRCBASE =       ../../../..
  33   34  
↓ open down ↓ 79 lines elided ↑ open up ↑
 113  114  SGSMSG_PIGLATIN_NL =    perl $(SGSTOOLS)/common/sgsmsg_piglatin_nl.pl
 114  115  CHKMSG =                $(SGSTOOLS)/chkmsg.sh
 115  116  
 116  117  SGSMSGVFLAG =
 117  118  SGSMSGFLAGS =   $(SGSMSGVFLAG) -i $(SGSMSGID)/sgs.ident
 118  119  CHKMSGFLAGS =   $(SGSMSGTARG:%=-m %) $(SGSMSGCHK:%=-m %)
 119  120  
 120  121  # Native targets should use the minimum of ld(1) flags to allow building on
 121  122  # previous releases.  We use mapfiles to scope, but don't bother versioning.
 122  123  
 123      -native :=       DYNFLAGS = -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION)
      124 +native :=       DYNFLAGS = -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION) $(HSONAME)
 124  125  
 125  126  # Comment out the following two lines to have the sgs built from the system
 126  127  # link-editor, rather than the local proto link-editor.
 127  128  CC_USE_PROTO =  -Yl,$(SGSPROTO)
 128  129  LD_USE_PROTO =  $(SGSPROTO)/
 129  130  
 130  131  #
 131  132  # lint-related stuff
 132  133  #
 133  134  LIBNAME32 =     $(LIBNAME:%=%32)
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX