Print this page
10051 cw(1) shouldn't have to translate -g

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/sparcv9/Makefile.com
          +++ new/usr/src/lib/libc/sparcv9/Makefile.com
↓ open down ↓ 1314 lines elided ↑ open up ↑
1315 1315          tls_get_addr.o          \
1316 1316          unwind_frame.o          \
1317 1317          vforkx.o
1318 1318  
1319 1319  $(ASSYMDEP_OBJS:%=pics/%)       :=      CPPFLAGS += -I.
1320 1320  
1321 1321  $(ASSYMDEP_OBJS:%=pics/%): assym.h
1322 1322  
1323 1323  # assym.h build rules
1324 1324  
1325      -assym.h := CFLAGS64 += -g
     1325 +assym.h := CFLAGS64 += $(CCGDEBUG)
1326 1326  
1327 1327  GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1328 1328  
1329 1329  genassym: $(GENASSYM_C)
1330 1330          $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1331 1331                  $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1332 1332  
1333 1333  OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1334 1334  
1335 1335  assym.h: $(OFFSETS) genassym
1336 1336          $(OFFSETS_CREATE) <$(OFFSETS) >$@
1337 1337          ./genassym >>$@
1338 1338  
1339 1339  # derived C source and related explicit dependencies
1340 1340  $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1341 1341          cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1342 1342  
1343 1343  pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX