[Mplayer-cvslog] CVS: main Makefile,1.187,1.188

Atmosfear atmos4 at mplayerhq.hu
Tue May 21 01:27:12 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv20401

Modified Files:
	Makefile 
Log Message:
Fix gcc version display for gcc 3.1 (downwards compatible it seems - tested with 2.95.2)


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- Makefile	19 May 2002 23:50:32 -0000	1.187
+++ Makefile	20 May 2002 23:27:01 -0000	1.188
@@ -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




More information about the MPlayer-cvslog mailing list