70 ETCDYNLIB= $(RTLD:%=$(ETCLIBDIR)/%)
71
72 ROOTDYNLIB= $(RTLD:%=$(ROOTFS_LIBDIR)/%)
73 ROOTDYNLIB64= $(RTLD:%=$(ROOTFS_LIBDIR64)/%)
74
75
76 FILEMODE = 755
77
78 CPPFLAGS += -I$(SRCBASE)/lib/libc/inc \
79 -I$(SRCBASE)/uts/common/krtld \
80 -I$(SRCBASE)/uts/$(PLAT) \
81 -I$(SRCBASE)/uts/$(PLAT)/krtld \
82 -I$(SRC)/common/sgsrtcid \
83 -I$(ELFCAP) \
84 $(CPPFEATUREMACROS)
85
86 ASFLAGS= -P -D_ASM $(CPPFLAGS)
87 LDLIB = -L ../../libld/$(MACH)
88 RTLDLIB = -L ../../librtld/$(MACH)
89
90 CERRWARN += -_gcc=-Wno-uninitialized
91 CERRWARN += -_gcc=-Wno-unused-variable
92 CERRWARN += -_gcc=-Wno-switch
93
94 # not linted
95 SMATCH=off
96
97 # These definitions require that libc be built in the same workspace
98 # as the run-time linker and before the run-time linker is built.
99 # This is required for the system's self-consistency in any case.
100 CPICLIB = $(VAR_RTLD_CPICLIB)
101 CPICLIB64 = $(VAR_RTLD_CPICLIB64)
102 CLIB = -lc_pic
103
104 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) \
105 $(CPICLIB) $(CLIB) \
106 $(LDDBGLIBDIR) $(LDDBG_LIB) \
107 $(RTLDLIB) -lrtld \
108 $(LDLIB) $(LD_LIB)
109
110 DYNFLAGS += -i -e _rt_boot $(VERSREF) $(ZNODLOPEN) \
|
70 ETCDYNLIB= $(RTLD:%=$(ETCLIBDIR)/%)
71
72 ROOTDYNLIB= $(RTLD:%=$(ROOTFS_LIBDIR)/%)
73 ROOTDYNLIB64= $(RTLD:%=$(ROOTFS_LIBDIR64)/%)
74
75
76 FILEMODE = 755
77
78 CPPFLAGS += -I$(SRCBASE)/lib/libc/inc \
79 -I$(SRCBASE)/uts/common/krtld \
80 -I$(SRCBASE)/uts/$(PLAT) \
81 -I$(SRCBASE)/uts/$(PLAT)/krtld \
82 -I$(SRC)/common/sgsrtcid \
83 -I$(ELFCAP) \
84 $(CPPFEATUREMACROS)
85
86 ASFLAGS= -P -D_ASM $(CPPFLAGS)
87 LDLIB = -L ../../libld/$(MACH)
88 RTLDLIB = -L ../../librtld/$(MACH)
89
90 CERRWARN += $(CNOWARN_UNINIT)
91 CERRWARN += -_gcc=-Wno-unused-variable
92 CERRWARN += -_gcc=-Wno-switch
93
94 # not linted
95 SMATCH=off
96
97 # These definitions require that libc be built in the same workspace
98 # as the run-time linker and before the run-time linker is built.
99 # This is required for the system's self-consistency in any case.
100 CPICLIB = $(VAR_RTLD_CPICLIB)
101 CPICLIB64 = $(VAR_RTLD_CPICLIB64)
102 CLIB = -lc_pic
103
104 LDLIBS += $(CONVLIBDIR) $(CONV_LIB) \
105 $(CPICLIB) $(CLIB) \
106 $(LDDBGLIBDIR) $(LDDBG_LIB) \
107 $(RTLDLIB) -lrtld \
108 $(LDLIB) $(LD_LIB)
109
110 DYNFLAGS += -i -e _rt_boot $(VERSREF) $(ZNODLOPEN) \
|