40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.3 2002/07/20 00:52:45 naddy Exp $
|
|
--- configure.orig Fri Jul 19 16:18:55 2002
|
|
+++ configure Fri Jul 19 23:12:17 2002
|
|
@@ -3590,7 +3590,6 @@ else
|
|
hardcode_shlibpath_var=no
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
export_dynamic_flag_spec='${wl}-E'
|
|
else
|
|
case "$host_os" in
|
|
@@ -3600,7 +3599,6 @@ else
|
|
;;
|
|
*)
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
;;
|
|
esac
|
|
fi
|
|
@@ -7244,7 +7242,7 @@ if test -z "$GCC"; then
|
|
;;
|
|
*)
|
|
DEBUG="-g"
|
|
- CFLAGS="-O"
|
|
+ CFLAGS=""
|
|
PROFILE="-g -p"
|
|
;;
|
|
esac
|
|
@@ -7267,8 +7265,8 @@ else
|
|
;;
|
|
*)
|
|
DEBUG="-g -Wall -fsigned-char"
|
|
- CFLAGS="-O20 -fsigned-char"
|
|
- PROFILE="-O20 -g -pg -fsigned-char"
|
|
+ CFLAGS="-fsigned-char"
|
|
+ PROFILE="-g -pg -fsigned-char"
|
|
;;
|
|
esac
|
|
fi
|