This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
When threads are active we need -lpthread, but previous `fix' of
[perl5.git] / hints / super-ux.sh
1 # Len Makin <len@hpc.CSIRO.AU>
2
3 # No dynamically loaded libraries
4 so='none'
5
6 case "$optimize" in
7 # No compile option -O
8 '') optimize='-h2' ;;
9 esac
10
11 # size_t is 32 bits. Next version of compiler will have -hsize_t64
12 # enabling size_t to be 64 bits.
13 # Current cc version 4.80 allows -hsubscript64 for 64 bit array subscripts.
14 ccflags="$ccflags -hxint -hmath vector -hsubscript64"
15
16 case "$usemymalloc" in
17 '') # The perl malloc.c SHOULD work
18     usemymalloc='y'
19     ;;
20 esac