diff --git a/configure b/configure index 0024d3435b..cce077b3c9 100755 --- a/configure +++ b/configure @@ -1115,7 +1115,7 @@ return 0; EOF mm3dnow=no -if $cc -march=athlon -o $TMPO $TMPC 2> /dev/null ; then +if $cc -m3dnow -o $TMPO $TMPC 2> /dev/null ; then mm3dnow=yes fi diff --git a/libavcodec/Makefile b/libavcodec/Makefile index aba23b35a2..6f82a5bd3e 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -350,7 +350,7 @@ depend: CFLAGS+= -msse endif ifdef TARGET_BUILTIN_3DNOW i386/fft_3dn.o: CFLAGS+= -m3dnow -i386/fft_3dn2.o: CFLAGS+= -march=athlon +i386/fft_3dn2.o: CFLAGS+= -m3dnow endif endif