aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-02-05 02:44:48 +0000
committerMark Johnston <markj@FreeBSD.org>2017-02-05 02:44:48 +0000
commit55c2fd519fc82aab9f4bf051bdff16e9f08dab77 (patch)
tree14c543ea4f77ed5380eac3c8d92fbb74cead92f4
parent273efb05a21a9b60088b887440fafa062837a392 (diff)
downloadsrc-55c2fd519fc82aab9f4bf051bdff16e9f08dab77.tar.gz
src-55c2fd519fc82aab9f4bf051bdff16e9f08dab77.zip
Avoid using Sun compiler-specific flags.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=313264
-rw-r--r--cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh
index 662076a5a2d4..8fd321ae6524 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh
@@ -77,7 +77,7 @@ main(int argc, char **argv)
}
EOF
-cc -c -xO2 test.c
+cc -c -O2 test.c
if [ $? -ne 0 ]; then
print -u2 "failed to compile test.c"
exit 1