Print this page
6648 illumos build should be explicit about C standards

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 1300 lines elided ↑ open up ↑
1301 1301  
1302 1302  $(ASSYMDEP_OBJS:%=pics/%)       :=      CPPFLAGS += -I.
1303 1303  
1304 1304  $(ASSYMDEP_OBJS:%=pics/%): assym.h
1305 1305  
1306 1306  # assym.h build rules
1307 1307  
1308 1308  GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1309 1309  
1310 1310  genassym: $(GENASSYM_C)
1311      -        $(NATIVECC) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc  \
     1311 +        $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1312 1312                  -D__EXTENSIONS__ $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1313 1313  
1314 1314  OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1315 1315  
1316 1316  assym.h: $(OFFSETS) genassym
1317 1317          $(OFFSETS_CREATE) <$(OFFSETS) >$@
1318 1318          ./genassym >>$@
1319 1319  
1320 1320  # derived C source and related explicit dependencies
1321 1321  $(LIBCDIR)/port/gen/errlst.c + \
1322 1322  $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1323 1323          cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1324 1324  
1325 1325  pics/errlst.o: $(LIBCDIR)/port/gen/errlst.c
1326 1326  
1327 1327  pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX