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>
This commit is contained in:
parent
8e082df0f4
commit
ddc9bc7721
1
configure
vendored
1
configure
vendored
@ -2992,6 +2992,7 @@ case $target_os in
|
|||||||
disable symver
|
disable symver
|
||||||
oss_indev_extralibs="-lossaudio"
|
oss_indev_extralibs="-lossaudio"
|
||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
|
enabled gcc || check_ldflags -Wl,-zmuldefs
|
||||||
;;
|
;;
|
||||||
openbsd|bitrig)
|
openbsd|bitrig)
|
||||||
# On OpenBSD 4.5. the compiler does not use PIC unless
|
# On OpenBSD 4.5. the compiler does not use PIC unless
|
||||||
|
Loading…
x
Reference in New Issue
Block a user