Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/policykit/Makefile
          +++ new/usr/src/cmd/policykit/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  #
  25   25  
  26   26  PROG =  polkit-is-privileged
  27   27  
  28   28  SRCS =  $(PROG:%=%.c)
  29   29  
  30   30  include ../Makefile.cmd
  31   31  include $(SRC)/lib/policykit/Makefile.policykit
  32   32  
  33   33  LDLIBS +=       -lpolkit $(POLICYKIT_GLIB_LDLIBS)
       34 +ADJUNCT_LIBS += $(POLICYKIT_GLIB_EXTERNS)
  34   35  
  35   36  CPPFLAGS +=     -I$(ROOT)/usr/include/libpolkit
  36   37  CPPFLAGS +=     $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS)
  37   38  CPPFLAGS +=     -DPACKAGE_VERSION=\"$(POLICYKIT_VERSION)\"
  38   39  CSTD =  $(CSTD_GNU99)
  39   40  
  40   41  CERRWARN +=     -_gcc=-Wno-unused-variable
  41   42  CERRWARN +=     -_gcc=-Wno-unused-function
  42   43  
  43   44  ROOTUSRSBINPROG =       $(PROG:%=$(ROOTUSRSBIN)/%)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX