Several of the options were incorrect for suncc.
---
configure | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index ca11a85..f094a32 100755
--- a/configure
+++ b/configure
@@ -2196,7 +2196,8 @@ suncc_flags(){
-fomit-frame-pointer) echo -xregs=frameptr ;;
-fPIC) echo -KPIC -xcode=pic32 ;;
-W*,*) echo $flag ;;
- -f*-*|-W*) ;;
+ -f*-*|-W*|-mimpure-text) ;;
+ -shared) echo -G ;;
*) echo $flag ;;
esac
done
@@ -2748,8 +2749,9 @@ case $target_os in
;;
sunos)
AVSERVERLDFLAGS=""
- SHFLAGS='-shared -Wl,-h,$$(@F)'
- enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
+ SHFLAGS='-Wl,-h,$$(@F)'
+ append SHFLAGS $($ldflags_filter -shared)
+ enabled x86 && append SHFLAGS $($ldflags_filter -mimpure-text)
network_extralibs="-lsocket -lnsl"
add_cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
# When using suncc to build, the Solaris linker will mark
--
1.7.12
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel