From ddc9bc77218dca097783c6563270290e2e936e82 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 12 Sep 2012 19:37:29 +0200 Subject: [PATCH] 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 --- configure | 1 + 1 file changed, 1 insertion(+) 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