Mercurial > mplayer.hg
view dvdread/Makefile @ 22697:2fe9bd97a7f6
Fix configure -march detection for athlon-xp
The configure script uses SSE support to distinguish between athlon and
athlon-xp, but SSE support was tested _after_ deciding the basic CPU
type. Thus athlon-xp was always misdetected as athlon. Fix this by
moving the CPU extensions check before the CPU type check. Patch from
Andrew Savchenko, bircoph list ru.
author | uau |
---|---|
date | Sun, 18 Mar 2007 13:38:55 +0000 |
parents | 83b333febf31 |
children | 1ac62a61ea56 |
line wrap: on
line source
include ../config.mak LIBNAME_COMMON = libdvdread.a SRCS_COMMON = dvd_input.c \ dvd_reader.c \ dvd_udf.c \ ifo_print.c \ ifo_read.c \ nav_print.c \ nav_read.c \ md5.c \ CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE -DSTDC_HEADERS -DHAVE_LIMITS_H CFLAGS-$(DVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H include ../mpcommon.mak