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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/Makefile.targ
          +++ new/usr/src/cmd/sgs/elfdump/Makefile.targ
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58            ../common/struct_layout_$(ARCH).c ||\
  59   59          { echo "Error: struct_layout_$(ARCH).c needs update!" ; exit 1; }
  60   60          touch $@
  61   61  
  62   62  # We need CTF data in this object.
  63   63  gen_layout_obj.o := CFLAGS += $(CTF_FLAGS)
  64   64  gen_layout_obj.o := CFLAGS64 += $(CTF_FLAGS)
  65   65  gen_layout_obj.o := POST_PROCESS_O = $(CTFCONVERT_O)
  66   66  
  67   67  gen_struct_layout:      ../common/gen_struct_layout.c
  68      -                $(NATIVECC) $(NATIVECC_CFLAGS) -o $@ \
       68 +                $(NATIVECC) $(NATIVE_CFLAGS) -o $@ \
  69   69                          ../common/gen_struct_layout.c -lctf
  70   70  
  71   71  clean:
  72   72                  $(RM) $(OBJS) $(CLEANFILES) gen_struct_layout \
  73   73                    check_struct_layout gen_layout_obj.o \
  74   74                    struct_layout_$(ARCH).tmp
  75   75  
  76   76  delete:
  77   77                  $(RM) $(PROG)
  78   78  
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX