OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b141c7b
)
configure: clang: add -Qunused-arguments to as|ld_flags as well
author
Janne Grunau
<janne-libav@jannau.net>
Fri, 7 Feb 2014 18:23:28 +0000
(19:23 +0100)
committer
Janne Grunau
<janne-libav@jannau.net>
Sat, 8 Feb 2014 12:38:36 +0000
(13:38 +0100)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
81a4c7a
..
023042f
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-4208,6
+4208,18
@@
elif enabled_any msvc icl; then
fi
fi
+case $as_type in
+ clang)
+ add_asflags -Qunused-arguments
+ ;;
+esac
+
+case $ld_type in
+ clang)
+ check_ldflags -Qunused-arguments
+ ;;
+esac
+
case $target_os in
osf1)
enabled ccc && add_ldflags '-Wl,-expect_unresolved,*'