diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:12:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-10 00:12:38 +0000 |
commit | d7b34d08317ec559c6ae19f1b63c1f4845c0fd27 (patch) | |
tree | e8f8d3181f52582399fa96e02d0b8d19fc15732c | |
parent | d2a067d1d9011bf1015fd23efcbfb20cd4f79e1a (diff) | |
download | ffmpeg-d7b34d08317ec559c6ae19f1b63c1f4845c0fd27.tar.gz |
Move UltraSparc CFLAG addition to configure.
Originally committed as revision 5698 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 5 | ||||
-rwxr-xr-x | configure | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/common.mak b/common.mak index 5815fd48f6..be7d476eb3 100644 --- a/common.mak +++ b/common.mak @@ -15,11 +15,6 @@ CFLAGS+=-p LDFLAGS+=-p endif -#FIXME: This should be in configure/config.mak -ifeq ($(TARGET_ARCH_SPARC64),yes) -CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc -endif - SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp) OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS) STATIC_OBJS := $(OBJS) $(STATIC_OBJS) @@ -1048,6 +1048,9 @@ if test $tune != "generic"; then i[3456]86|pentium|pentiumpro|pentium-mmx|pentium[234]|prescott|k6|k6-[23]|athlon|athlon-tbird|athlon-4|athlon-[mx]p|winchip-c6|winchip2|c3|nocona|athlon64|k8|opteron|athlon-fx) CFLAGS="$CFLAGS -march=$tune" ;; + sparc64) + CFLAGS="$CFLAGS -mcpu=ultrasparc -mtune=ultrasparc" + ;; *) echo "WARNING: Unknown CPU \"$tune\", ignored." ;; |