changeset 32288:1df84a32840f

Switch back to using '-MD -MP' as gcc .d file creation flags. This should avoid trouble when header files get renamed.
author diego
date Sun, 26 Sep 2010 21:32:54 +0000
parents a27f96e11216
children f590821ec633
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Sep 26 20:53:09 2010 +0000
+++ b/configure	Sun Sep 26 21:32:54 2010 +0000
@@ -2556,7 +2556,7 @@
 fi
 
 cflag_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer"
-cflag_check -MMD -MF "$mplayer_tmpdir/test.d" -MT test.o && DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+cflag_check -MD -MP && DEPFLAGS="-MD -MP $CFLAGS"
 
 
 if test -n "$LDFLAGS" ; then