changeset 6147:4ec23f98516e

Fix gcc version display for gcc 3.1 (downwards compatible it seems - tested with 2.95.2)
author atmos4
date Mon, 20 May 2002 23:27:01 +0000
parents b9651eb9749e
children a27cb099fda1
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon May 20 13:56:16 2002 +0000
+++ b/Makefile	Mon May 20 23:27:01 2002 +0000
@@ -277,7 +277,7 @@
 dep:	depend
 
 depend:
-	./version.sh `$(CC) --version`
+	./version.sh `$(CC) -dumpversion`
 	$(CC) -MM $(CFLAGS) mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
 	@for a in $(PARTS); do $(MAKE) -C $$a dep; done
 
@@ -285,7 +285,7 @@
 
 # rebuild at every config.h/config.mak change:
 version.h:
-	./version.sh `$(CC) --version`
+	./version.sh `$(CC) -dumpversion`
 ifeq ($(wildcard .developer),)
 	$(MAKE) distclean
 endif