On Fri, 7 Feb 2014, Janne Grunau wrote:

---
configure | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/configure b/configure
index 7a305c3..abee247 100755
--- a/configure
+++ b/configure
@@ -4208,6 +4208,18 @@ elif enabled_any msvc icl; then
    fi
fi

+case $ld_type in
+    clang)
+       check_ldflags -Qunused-arguments
+    ;;
+esac

This silences the warnings about -pthread, right? I would kinda prefer to have the code that tries to add that option changed to Luca's second (original) alternative since that felt more robust to me. OTOH I guess there's not much value in intentionally annoying us with this warning until that is done either.

+
+case $as_type in
+    clang)
+       add_asflags -Qunused-arguments
+    ;;
+esac
+
case $target_os in
    osf1)
        enabled ccc && add_ldflags '-Wl,-expect_unresolved,*'
--
1.8.5.3

All in all, patch ok with me.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to