diff options
Diffstat (limited to 'hints')
-rw-r--r-- | hints/dec_osf.sh | 8 | ||||
-rw-r--r-- | hints/linux.sh | 14 |
2 files changed, 19 insertions, 3 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 38b48e53e3..85de7cb042 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -1,3 +1,11 @@ # hints/dec_osf.sh +case "$optimize" in +'') + case "$cc" in + *gcc*) ;; + *) optimize='-O2 -Olimit 2900' ;; + esac + ;; +esac ccflags="$ccflags -DSTANDARD_C" lddlflags='-shared -expect_unresolved "*" -s' diff --git a/hints/linux.sh b/hints/linux.sh index cde47b1cb9..97be1d76cd 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -1,14 +1,22 @@ # hints/linux.sh # Original version by rsanders -# Additional dlext support by Kenneth Albanowski <kjahds@kjahds.com> +# Additional support by Kenneth Albanowski <kjahds@kjahds.com> # # First pass at ELF support by Andy Dougherty <doughera@lafcol.lafayette.edu> # Fri Feb 3 14:05:00 EST 1995 # Use sh Configure -Dcc=gcc-elf to try using gcc-elf. It might work. # +# Last updated Mon Mar 6 10:18:10 EST 1995 +# + +# Why is this needed? +bin='/usr/bin' + +# Apparently some versions of gcc 2.6.2 are picking up _G_HAVE_BOOL +# from somewhere (_G_config.h maybe?) but not actually defining bool. +# Anyone really know what's going on? +ccflags='-Dbool=char -DHAS_BOOL' -ccflags='-I/usr/include/bsd' -cppflags=' -I/usr/include/bsd' d_dosuid='define' malloctype='void *' |