# HG changeset patch # User atmos4 # Date 1021937221 0 # Node ID 4ec23f98516ede8b8922d0bcc44428a838ebaa92 # Parent b9651eb9749efa40a61411e44e2f3d23be1aed47 Fix gcc version display for gcc 3.1 (downwards compatible it seems - tested with 2.95.2) diff -r b9651eb9749e -r 4ec23f98516e Makefile --- 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