Print this page
8609 want a position independent CRT

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnsl/Makefile.com
          +++ new/usr/src/lib/libnsl/Makefile.com
↓ open down ↓ 180 lines elided ↑ open up ↑
 181  181                  algs.o netselect.o
 182  182  BIGPICS =       $(GOTHOGS:%=pics/%)
 183  183  $(BIGPICS) :=   sparc_C_PICFLAGS = $(C_BIGPICFLAGS)
 184  184  $(BIGPICS) :=   i386_C_PICFLAGS = $(C_BIGPICFLAGS)
 185  185  
 186  186  # Compile C++ code without exceptions to avoid a dependence on libC.
 187  187  NOEXCEPTIONS= -noex
 188  188  CCFLAGS += $(NOEXCEPTIONS)
 189  189  CCFLAGS64 += $(NOEXCEPTIONS)
 190  190  
 191      -CPPFLAGS +=     -I$(SRC)/lib/common/inc -I$(SRC)/lib/libnsl/include -D_REENTRANT
      191 +CPPFLAGS +=     -I$(SRC)/lib/libnsl/include -D_REENTRANT
 192  192  CPPFLAGS +=     -I$(SRC)/lib/libnsl/dial
 193  193  
 194  194  CFLAGS +=       $(CCVERBOSE)
 195  195  
 196  196  # Make string literals read-only to save memory.
 197  197  CFLAGS +=       $(XSTRCONST)
 198  198  CFLAGS64 +=     $(XSTRCONST)
 199  199  CCFLAGS +=      -_CC=-features=conststrings
 200  200  CCFLAGS64 +=    -_CC=-features=conststrings
 201  201  
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX