openbsd-ports/audio/vorbis-tools/patches/patch-configure
naddy 5fdf476d93 Remove use of -rpath from libtool.
Fixes libao module loading in ogg123 on ELF; doesn't affect a.out.
2002-04-02 16:52:59 +00:00

40 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2002/04/02 16:52:59 naddy Exp $
--- configure.orig Tue Jan 1 02:57:06 2002
+++ configure Tue Apr 2 17:51:29 2002
@@ -3487,7 +3487,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
@@ -3497,7 +3496,6 @@ else
;;
*)
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
fi
@@ -5342,7 +5340,7 @@ if test -z "$GCC"; then
;;
*)
DEBUG="-g"
- CFLAGS="-O"
+ CFLAGS=""
PROFILE="-g -p"
;;
esac
@@ -5365,8 +5363,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