aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-12 19:37:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-12 19:37:29 +0200
commitddc9bc77218dca097783c6563270290e2e936e82 (patch)
tree09ffa5237d7459cb3d1ddc2a7ea4ec53b3d6be18
parent8e082df0f436393876d3eec6d6de24263ecaa233 (diff)
downloadffmpeg-ddc9bc77218dca097783c6563270290e2e936e82.tar.gz
configure: try to support clang on netbsd
The headers on netbsd are not fully C99 compatible which leads to multiple definitions of symbols in clang bit not with gcc. AFAIK this has been fixed in netbsd trunk (didnt check though) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 875cb2ba0d..3d1fae7bab 100755
--- a/configure
+++ b/configure
@@ -2992,6 +2992,7 @@ case $target_os in
disable symver
oss_indev_extralibs="-lossaudio"
oss_outdev_extralibs="-lossaudio"
+ enabled gcc || check_ldflags -Wl,-zmuldefs
;;
openbsd|bitrig)
# On OpenBSD 4.5. the compiler does not use PIC unless