Print this page
9128 cw(1onbld) should be able to run multiple shadows
9129 file-locking tests shouldn't build multiple source files in one compiler invocation
9130 DTrace tst.gcc.d isn't useful
9132 cw(1onbld) shouldn't shadow pure preprocessing
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed? by: Yuri Pankov <yuripv@yuripv.net>
Reviewed? by: Robert Mustacchi <rm@joyent.com>
Reviewed? by: Jason King <jason.king@joyent.com>
@@ -37,22 +37,18 @@
CFLAGS += $(CCVERBOSE)
# Override CFLAGS. This is needed only for bootstrap of cw.
$(__GNUC)CFLAGS= -O -D__sun -Wall -Wno-unknown-pragmas -Werror \
- -std=gnu89 -nodefaultlibs
+ -std=gnu99 -nodefaultlibs
$(__SUNC)CFLAGS= -xspace -Xa -xildoff -errtags=yes -errwarn=%all \
- -xc99=%none -W0,-xglobalstatic -v
+ -xc99=%all -W0,-xglobalstatic -v
$(__GNUC)LDLIBS += -lc
$(__GNUC)LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%)
-CPPFLAGS += -DDEFAULT_CC_DIR='"$(SPRO_VROOT)/bin"'
-CPPFLAGS += -DDEFAULT_GCC_DIR='"$(GCC_ROOT)/bin"'
-CPPFLAGS += -DDEFAULT_CPLUSPLUS_DIR='"$(SPRO_VROOT)/bin"'
-CPPFLAGS += -DDEFAULT_GPLUSPLUS_DIR='"$(GCC_ROOT)/bin"'
$(ROOTONBLDMAN1ONBLDFILES) := FILEMODE= 644
# Assume we don't have the install.bin available yet
INS.file= $(RM) $@; $(CP) $< $(@D); $(CHMOD) $(FILEMODE) $@