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/svc/configd/Makefile
          +++ new/usr/src/cmd/svc/configd/Makefile
↓ open down ↓ 72 lines elided ↑ open up ↑
  73   73  ROOTSCRIPTFILE  = $(ROOTCMDDIR)/$(SCRIPTFILE)
  74   74  
  75   75  #
  76   76  # Native variant (used in ../seed)
  77   77  #
  78   78  $(NATIVE_BUILD)CC =     $(NATIVECC)
  79   79  $(NATIVE_BUILD)LD =     $(NATIVELD)
  80   80  $(NATIVE_BUILD)CFLAGS = $(NATIVE_CFLAGS)
  81   81  $(NATIVE_BUILD)CPPFLAGS = $(MYCPPFLAGS) -I$(LIBUUTIL)/common -I$(LIBSCF)/inc
  82   82  $(NATIVE_BUILD)CPPFLAGS += -DNATIVE_BUILD
  83      -$(NATIVE_BUILD)LDFLAGS =
       83 +$(NATIVE_BUILD)LDFLAGS += -Bdirect
       84 +$(NATIVE_BUILD)NATIVE_LIBS = libumem.so libbsm.so libc.so
  84   85  $(NATIVE_BUILD)LDLIBS = -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \
  85   86                          -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native $(MYLDLIBS)
  86   87  
  87   88  DIRMODE = 0755
  88   89  FILEMODE = 0555
  89   90  
  90   91  OBJSQLITE =
  91   92  LIBSQLITE = -lsqlite-sys
  92   93  $(NATIVE_BUILD)OBJSQLITE = $(ROOT)/lib/libsqlite-native.o
  93   94  $(NATIVE_BUILD)LIBSQLITE =
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX