$NetBSD: patch-ab,v 1.6 2006/04/15 14:20:31 ghen Exp $ --- configure.in.orig 2006-04-15 10:47:18.000000000 +0200 +++ configure.in @@ -1418,7 +1418,7 @@ case "$target" in LDFLAGS=$_SAVE_LDFLAGS ;; -*-freebsd*) +*-freebsd* | *-dragonfly*) if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" @@ -1432,6 +1432,9 @@ case "$target" in # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive' # MKSHLIB_UNFORCE_ALL='' # fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi ;; *-hpux*) @@ -1826,6 +1829,13 @@ case "$target" in if test "$LIBRUNPATH"; then DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" fi + + case "${target_cpu}" in + alpha*) + CFLAGS="$CFLAGS -mieee" + CXXFLAGS="$CXXFLAGS -mieee" + ;; + esac ;; *-nto*) @@ -2051,7 +2061,7 @@ dnl the qsort routine under solaris is f MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -o $@' MKSHLIB_FORCE_ALL='-Qoption ld -z,allextract' MKSHLIB_UNFORCE_ALL='' - DSO_LDOPTS='-G -Qoption ld -z,muldefs -h $@' + DSO_LDOPTS='-G -z muldefs -h $@' AR_LIST="$AR t" AR_EXTRACT="$AR x" AR_DELETE="$AR d" @@ -5279,7 +5289,7 @@ dnl ==================================== dnl = Enable code optimization. ON by default. dnl ======================================================== if test -z "$MOZ_OPTIMIZE_FLAGS"; then - MOZ_OPTIMIZE_FLAGS="-O" + MOZ_OPTIMIZE_FLAGS="" fi MOZ_ARG_ENABLE_STRING(optimize,