Mercurial > mplayer.hg
annotate version.sh @ 7335:8db0cba91b6c
When we're compiling/running on a kernel without sse/sse2 support, we have
to be careful when using gcc-3.x. gcc-3.x is able to emit sse/sse2
instructions for normal C code when we compile for maximum performance with
something like the -march=athlon-xp switch.
So, if the kernel does not support the sse/sse2 instruction set extension,
we have to tell gcc-3.x to not emit see/sse2 instructions for regular C code,
otherwise mplayer might crash with a SIGILL signal.
author | jkeil |
---|---|
date | Mon, 09 Sep 2002 19:01:34 +0000 |
parents | 142e0fa289d4 |
children | a49219323787 |
rev | line source |
---|---|
420 | 1 #!/bin/sh |
2 | |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
3 last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` |
5949 | 4 if test $? -ne 0 ; then |
5 # probably no gnu date installed(?), use current date | |
6 last_cvs_update=`date +%y%m%d-%H:%M` | |
7 elif test `uname -s` = 'Darwin' ; then | |
8 # darwin's date has different meaning for -r | |
9 last_cvs_update=`date +%y%m%d-%H:%M` | |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
10 fi |
3292
7fa3a928631a
not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
jaf
parents:
1621
diff
changeset
|
11 |
3390
d31a4f29aed1
CC version check done by Makefile to allow overriding CC from envvar
arpi
parents:
3300
diff
changeset
|
12 echo "#define VERSION \"CVS-${last_cvs_update}-$1 \"" >version.h |