Print this page
6648 illumos build should be explicit about C standards
*** 42,60 ****
COMOBJS=
NATOBJS= piglatin.o
OBJECTS= $(COMOBJS) $(NATOBJS)
- NATIVECC_CFLAGS = -O
AVLOBJ= avl.o
TOOL_OBJS= sgsmsg.o string_table.o findprime.o assfail.o
SGSMSG_OBJS= $(TOOL_OBJS) $(AVLOBJ)
SGSMSG_SRCS= $(TOOL_OBJS:%.o=../common/%.c) \
$(AVLOBJ:%.o=$(VAR_AVLDIR)/%.c)
! $(SGSMSG_OBJS) := NATIVECC_CFLAGS += -I../../include $(VAR_TOOLS_CPPFLAGS)
PROGS= $(COMOBJS:%.o=%)
NATIVE= $(NATOBJS:%.o=%) sgsmsg
SRCS= $(COMOBJS:%.o=../common/%.c) $(NATOBJS:%.o=../common/%.c)
--- 42,59 ----
COMOBJS=
NATOBJS= piglatin.o
OBJECTS= $(COMOBJS) $(NATOBJS)
AVLOBJ= avl.o
TOOL_OBJS= sgsmsg.o string_table.o findprime.o assfail.o
SGSMSG_OBJS= $(TOOL_OBJS) $(AVLOBJ)
SGSMSG_SRCS= $(TOOL_OBJS:%.o=../common/%.c) \
$(AVLOBJ:%.o=$(VAR_AVLDIR)/%.c)
! $(SGSMSG_OBJS) := NATIVE_CFLAGS += -I../../include $(VAR_TOOLS_CPPFLAGS)
PROGS= $(COMOBJS:%.o=%)
NATIVE= $(NATOBJS:%.o=%) sgsmsg
SRCS= $(COMOBJS:%.o=../common/%.c) $(NATOBJS:%.o=../common/%.c)