diff options
Diffstat (limited to 'cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh')
-rw-r--r-- | cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh b/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh index 59339f766c0a..68a8d016073c 100644 --- a/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh +++ b/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh @@ -23,6 +23,7 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# ident "%Z%%M% %I% %E% SMI" if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' @@ -60,7 +61,7 @@ main(int argc, char **argv) } EOF -gcc -m32 -c test.c +cc -xarch=generic -c test.c if [ $? -ne 0 ]; then print -u2 "failed to compile test.c" exit 1 @@ -70,7 +71,7 @@ if [ $? -ne 0 ]; then print -u2 "failed to create DOF" exit 1 fi -gcc -m32 -o test test.o prov.o +cc -xarch=generic -o test test.o prov.o if [ $? -ne 0 ]; then print -u2 "failed to link final executable" exit 1 |