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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/sparcv9/Makefile.com
          +++ new/usr/src/lib/libc/sparcv9/Makefile.com
↓ open down ↓ 1292 lines elided ↑ open up ↑
1293 1293  
1294 1294  $(ASSYMDEP_OBJS:%=pics/%): assym.h
1295 1295  
1296 1296  # assym.h build rules
1297 1297  
1298 1298  assym.h := CFLAGS64 += -g
1299 1299  
1300 1300  GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1301 1301  
1302 1302  genassym: $(GENASSYM_C)
1303      -        $(NATIVECC) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
     1303 +        $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1304 1304                  $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1305 1305  
1306 1306  OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1307 1307  
1308 1308  assym.h: $(OFFSETS) genassym
1309 1309          $(OFFSETS_CREATE) <$(OFFSETS) >$@
1310 1310          ./genassym >>$@
1311 1311  
1312 1312  # derived C source and related explicit dependencies
1313 1313  $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1314 1314          cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1315 1315  
1316 1316  pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX