aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-15 20:43:58 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-15 20:43:58 +0000
commit5c0e9479ef13995986eab7d24a7d63a022e525bf (patch)
treee9f47ab55bfc22d5f757ab7106ed3893aaab6a43 /configure
parenta661ade713a1ba0534ed13abb626115fceed5fd5 (diff)
downloadffmpeg-5c0e9479ef13995986eab7d24a7d63a022e525bf.tar.gz
test whether linker supports --warn-common
Originally committed as revision 9328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c397be782d..ac5effcbb8 100755
--- a/configure
+++ b/configure
@@ -888,7 +888,7 @@ thread_type="no"
SHFLAGS='-shared -Wl,-soname,$@'
VHOOKSHFLAGS='$(SHFLAGS)'
LIBOBJFLAGS=""
-FFLDFLAGS=-Wl,--warn-common
+FFLDFLAGS=
LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
FFSERVERLDFLAGS=-Wl,-E
LDCONFIG="ldconfig"
@@ -1792,6 +1792,7 @@ check_cflags -Wno-pointer-sign
enabled extra_warnings && check_cflags -Winline
# add some linker flags
+check_ldflags -Wl,--warn-common
check_ldflags $LDLATEFLAGS
# not all compilers support -Os