1 $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
3 --- configure.in.orig 2008-06-25 00:51:17.000000000 +0200
5 @@ -1682,7 +1682,7 @@ case "$target" in
10 +*-freebsd* | *-dragonfly*)
11 if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then
14 @@ -1696,6 +1696,9 @@ case "$target" in
15 # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
16 # MKSHLIB_UNFORCE_ALL=''
18 + if test "$LIBRUNPATH"; then
19 + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
24 @@ -2212,8 +2215,15 @@ case "$target" in
25 if test "$LIBRUNPATH"; then
26 DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
28 + case "${target_cpu}" in
30 + CFLAGS="$CFLAGS -mieee"
31 + CXXFLAGS="$CXXFLAGS -mieee"
38 AC_DEFINE(NO_PW_GECOS)
40 @@ -6116,7 +6126,7 @@ dnl ====================================
41 dnl = Enable code optimization. ON by default.
42 dnl ========================================================
43 if test -z "$MOZ_OPTIMIZE_FLAGS"; then
44 - MOZ_OPTIMIZE_FLAGS="-O"
45 + MOZ_OPTIMIZE_FLAGS=""
48 MOZ_ARG_ENABLE_STRING(optimize,