Print this page
use thread_local for ntoa buf

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 1127 lines elided ↑ open up ↑
1128 1128  DYNFLAGS +=     $(DTRACE_DATA)
1129 1129  
1130 1130  # DTrace needs an executable data segment.
1131 1131  MAPFILE.NED=
1132 1132  
1133 1133  BUILD.s=        $(AS) $(ASFLAGS) $< -o $@
1134 1134  
1135 1135  # Override this top level flag so the compiler builds in its native
1136 1136  # C99 mode.  This has been enabled to support the complex arithmetic
1137 1137  # added to libc.
1138      -CSTD=   $(CSTD_GNU99)
     1138 +CSTD=   $(CSTD_GNU11)
1139 1139  
1140 1140  # libc method of building an archive
1141 1141  # The "$(GREP) -v ' L '" part is necessary only until
1142 1142  # lorder is fixed to ignore thread-local variables.
1143 1143  BUILD.AR= $(RM) $@ ; \
1144 1144          $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1145 1145  
1146 1146  # extra files for the clean target
1147 1147  CLEANFILES +=                   \
1148 1148          $(LIBCDIR)/port/gen/errlst.c    \
↓ open down ↓ 210 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX