Avoid using Sun compiler-specific flags.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2017-02-05 02:44:48 +00:00
parent 273efb05a2
commit 55c2fd519f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313264

View File

@ -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