This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Android hints: run-adb-shell was mishandling '\0'
[perl5.git] / hints / powerux.sh
index c95e0e9..4c05272 100644 (file)
@@ -52,11 +52,11 @@ d_csh='undef'
 # of perl (there are probably more of these that might be useful, but
 # for the extensions I build, this turned out to be enough). The -uldexp
 # makes sure the custom ldexp.o I add to archobjs actually gets pulled
-# into perl from libperl.a
+# into perl from libperl.a.  The -unanosleep makes Timer::HiRes happy.
 #
 cc='/usr/ccs/bin/ec'
 cccdlflags='-Zpic'
-ccdlflags='-Zlink=dynamic -Wl,-usys_nerr -Wl,-uldexp -Wl,-Bexport'
+ccdlflags='-Zlink=dynamic -Wl,-usys_nerr -Wl,-uldexp -Wl,-unanosleep -Wl,-Bexport'
 lddlflags='-Zlink=so'
 
 # Sigh... Various versions of Power MAX went out with a broken ldexp runtime
@@ -176,7 +176,7 @@ i_sysmode='undef'
 
 # There was a bug in memcmp (which was fixed a while ago) which sometimes
 # fails to provide the correct compare status (it is data dependant). I
-# don't wnat to figure out if you are building with the correct version or
+# don't want to figure out if you are building with the correct version or
 # not, so just pretend there is no memcmp (since perl has its own handy
 # substitute).
 #
@@ -200,7 +200,7 @@ dont_use_nlink=define
 
 # Configure comes up with the wrong type for these for some reason.  The
 # pointers shouldn't have const in them. (And it looks like I have to
-# provide netdb_hlen_type as well becuase when I predefine the others it
+# provide netdb_hlen_type as well because when I predefine the others it
 # comes up empty :-).
 #
 netdb_host_type='char *'