X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Flinux.sh;h=af7d0a835e9941f524ce6484d6146e876a62ba06;hb=7e3be867c805de9df8b4e2ab54f88f956419821c;hp=54bc12295c57b7afbea022c714a3b05ce917ad50;hpb=dc66995c1ead9543241b576ecca9933210bf2cd5;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/linux.sh b/hints/linux.sh index 54bc122..af7d0a8 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -29,6 +29,14 @@ esac # gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool. ccflags="-Dbool=char -DHAS_BOOL $ccflags" +# libc6, aka glibc2, seems to need STRUCT_TM_HASZONE defined. +# Thanks to Bart Schuller +# See Message-ID: <19971009002636.50729@tanglefoot> +# This is currently commented out for maintenance releases +# but should probably be uncommented for 5.005 or after +# more widespread testing. +#POSIX_cflags='ccflags="$ccflags -DSTRUCT_TM_HASZONE"' + # BSD compatability library no longer needed set `echo X "$libswanted "| sed -e 's/ bsd / /'` shift @@ -183,6 +191,17 @@ else echo 'Your csh is really tcsh. Good.' fi +# Shimpei Yamashita +# Message-Id: <33EF1634.B36B6500@pobox.com> +# +# MkLinux (osname=linux,archname=ppc-linux), which differs slightly from other +# linuces, needs special flags passed in order for dynamic loading to work. +# instead of the recommended: +# ccdlflags='-rdynamic' +# +# it should be: +# ccdlflags='-Wl,-E' + if [ "X$usethreads" != "X" ]; then ccflags="-D_REENTRANT -DUSE_THREADS $ccflags" cppflags="-D_REENTRANT -DUSE_THREADS $cppflags"