[FFmpeg-cvslog] r11202 - trunk/configure
mru
subversion
Tue Dec 11 21:02:09 CET 2007
Author: mru
Date: Tue Dec 11 21:02:09 2007
New Revision: 11202
Log:
do not create copy relocations when linking to shared libs
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Dec 11 21:02:09 2007
@@ -1737,6 +1737,7 @@ enabled extra_warnings && check_cflags -
check_ldflags -Wl,--warn-common
check_ldflags $LDLATEFLAGS
check_ldflags -Wl,-Bsymbolic
+check_ldflags -Wl,-z,nocopyreloc
if enabled small; then
check_cflags -Os # not all compilers support -Os
@@ -1752,12 +1753,9 @@ fi
# PIC flags for shared library objects where they are needed
if enabled shared; then
- # LIBOBJFLAGS may have already been set in the OS configuration
- if test -z "$LIBOBJFLAGS" ; then
- case "$arch" in
- x86_64|ia64|alpha|sparc*|power*) LIBOBJFLAGS='$(PIC)' ;;
- esac
- fi
+ case "$arch" in
+ x86_64|ia64|alpha|sparc*|power*) add_cflags '\$(PIC)' ;;
+ esac
fi
if enabled gprof; then
More information about the ffmpeg-cvslog
mailing list