aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-01-25 17:34:19 +0100
committerJanne Grunau <janne-libav@jannau.net>2014-01-25 21:50:21 +0100
commit9e057f53aa8549e94b7f52a67f69ce94d607da0a (patch)
tree3000eab87964a9a1ae898a5489bf3da8cd6cb8c3
parentfb87e69ff77f96536768dbae01d82db70c8b41f3 (diff)
downloadffmpeg-9e057f53aa8549e94b7f52a67f69ce94d607da0a.tar.gz
configure: clang: explicitly state dep file and rule name in DEPFLAGS
Fixes dependency file generation with gas-preprocessor.pl and clang. Flags copied from GCC and tested with Apple's clang from Xcode 5 and 5.1 and clang 3.2, 3.3, 3.4 on Linux.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b7ff79c1c1..81a4c7ae27 100755
--- a/configure
+++ b/configure
@@ -2702,7 +2702,7 @@ probe_cc(){
elif $_cc -v 2>&1 | grep -q clang; then
_type=clang
_ident=$($_cc --version | head -n1)
- _depflags='-MMD'
+ _depflags='-MMD -MF $(@:.o=.d) -MT $@'
_cflags_speed='-O3'
_cflags_size='-Os'
elif $_cc -V 2>&1 | grep -q Sun; then