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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsqlite/Makefile.com
          +++ new/usr/src/lib/libsqlite/Makefile.com
↓ open down ↓ 237 lines elided ↑ open up ↑
 238  238                  exec $(LINK.c) -o testfixture $(TESTSRC) $(LIBRARY) $(LDLIBS) ;\
 239  239          else \
 240  240                  echo "$(TCLBASE)/include/tcl.h: not found."; \
 241  241                  exit 1; \
 242  242          fi
 243  243  
 244  244  parse.h parse.c : $(SRCDIR)/parse.y $(TOOLDIR)/lemon.c $(TOOLDIR)/lempar.c
 245  245          -$(RM) parse_tmp.y lempar.c
 246  246          $(CP) $(SRCDIR)/parse.y parse_tmp.y
 247  247          $(CP) $(TOOLDIR)/lempar.c lempar.c
 248      -        $(NATIVECC) -o lemon $(TOOLDIR)/lemon.c
      248 +        $(NATIVECC) $(NATIVE_CFLAGS) -o lemon $(TOOLDIR)/lemon.c
 249  249          ./lemon parse_tmp.y
 250  250          -$(RM) parse.c parse.h
 251  251          $(CP) parse_tmp.h parse.h
 252  252          $(CP) parse_tmp.c parse.c
 253  253  
 254  254  objs/%-native.o: $(SRCDIR)/%.c $(GENHDR)
 255  255          $(COMPILE.c) -o $@ $<
 256  256          $(POST_PROCESS_O)
 257  257  
 258  258  objs/%-native.o: %.c $(GENHDR)
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX