Print this page
11645 tst.utf8probefunc.ksh needs to specify -m32 consistently

@@ -9,11 +9,11 @@
 # source.  A copy of the CDDL is also available via the Internet at
 # http://www.illumos.org/license/CDDL.
 #
 
 #
-# Copyright (c) 2013 Joyent, Inc.  All rights reserved.
+# Copyright 2019 Joyent, Inc.
 #
 
 DIR=/var/tmp/dtest.$$
 mkdir $DIR
 cd $DIR

@@ -41,11 +41,11 @@
 
 #
 # There's the right way, the wrong way, and the Max Power way!
 #
 cat foo.orig.s | sed 's/foo/foø/g' > foo.s
-gcc -o foo foo.s
+gcc -m32 -o foo foo.s
 
 if ! dtrace -n 'pid$target:a.out:f*:entry{printf("probefunc: %s\n", \
     probefunc)}' -qc ./foo ; then
         print -u 2 "dtrace failed in $DIR"
         exit 1