Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 04:08:22 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331178 - stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt
Message-ID:  <201803190408.w2J48MvX016256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar 19 04:08:22 2018
New Revision: 331178
URL: https://svnweb.freebsd.org/changeset/base/331178

Log:
  MFC r313264:
  
  Avoid using Sun compiler-specific flags.

Modified:
  stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh
==============================================================================
--- stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh	Mon Mar 19 04:06:18 2018	(r331177)
+++ stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh	Mon Mar 19 04:08:22 2018	(r331178)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803190408.w2J48MvX016256>