[FFmpeg-cvslog] configure: try to support clang on netbsd

Michael Niedermayer git at videolan.org
Wed Sep 12 19:47:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Sep 12 19:37:29 2012 +0200| [ddc9bc77218dca097783c6563270290e2e936e82] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddc9bc77218dca097783c6563270290e2e936e82
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 875cb2b..3d1fae7 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



More information about the ffmpeg-cvslog mailing list