Print this page
5196 The cw wrapper restricts gcc to -O2

*** 25,34 **** --- 25,35 ---- # # # Copyright (c) 2012 by Delphix. All rights reserved. # Copyright (c) 2013, Joyent, Inc. All rights reserved. + # Copyright 2014 Gary Mills # # # WARNING: Do not include Makefile.ctf here. That will cause tests to # break.
*** 52,62 **** fasttrap/tst.stack.exe := LDLIBS += -ldtrace sysevent/tst.post.exe := LDLIBS += -lsysevent sysevent/tst.post_chan.exe := LDLIBS += -lsysevent ! ustack/tst.bigstack.exe := COPTFLAG += -xO1 GCC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc nfs/%.o: $(SNOOPDIR)/%.c $(COMPILE.c) -o $@ $< -I$(SNOOPDIR) --- 53,63 ---- fasttrap/tst.stack.exe := LDLIBS += -ldtrace sysevent/tst.post.exe := LDLIBS += -lsysevent sysevent/tst.post_chan.exe := LDLIBS += -lsysevent ! ustack/tst.bigstack.exe := COPTFLAG = $(ADJUST_OPT1) -_cc=-xO1 -_gcc=-O1 GCC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc nfs/%.o: $(SNOOPDIR)/%.c $(COMPILE.c) -o $@ $< -I$(SNOOPDIR)