diff options
Diffstat (limited to 'usr/src/cmd/dtrace/test/tst/Makefile.com')
-rw-r--r-- | usr/src/cmd/dtrace/test/tst/Makefile.com | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/cmd/dtrace/test/tst/Makefile.com b/usr/src/cmd/dtrace/test/tst/Makefile.com index a23b8d65a8..e3cfd0ad0d 100644 --- a/usr/src/cmd/dtrace/test/tst/Makefile.com +++ b/usr/src/cmd/dtrace/test/tst/Makefile.com @@ -23,8 +23,6 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# include $(SRC)/cmd/Makefile.cmd @@ -56,6 +54,12 @@ ROOT_EXES = $(EXES:%=$(TSTDIR)/%) $(ROOT_TSTS) := FILEMODE = 0444 $(ROOT_EXES) := FILEMODE = 0555 +# The DTrace tests rely on "normal" behaviour from the compiler which +# agressive optimization of small, simple, one compilation-unit programs may +# utterly subvert. We force the compiler to not optimize rather than engage +# in an arms race with increasingly belligerent optimizers. +COPTFLAG= -xO0 + all: $(EXES) clean lint: |