Commit d7b34d08 authored by Diego Biurrun's avatar Diego Biurrun

Move UltraSparc CFLAG addition to configure.

Originally committed as revision 5698 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d2a067d1
...@@ -15,11 +15,6 @@ CFLAGS+=-p ...@@ -15,11 +15,6 @@ CFLAGS+=-p
LDFLAGS+=-p LDFLAGS+=-p
endif 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) SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS) OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
STATIC_OBJS := $(OBJS) $(STATIC_OBJS) STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
......
...@@ -1048,6 +1048,9 @@ if test $tune != "generic"; then ...@@ -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) 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" CFLAGS="$CFLAGS -march=$tune"
;; ;;
sparc64)
CFLAGS="$CFLAGS -mcpu=ultrasparc -mtune=ultrasparc"
;;
*) *)
echo "WARNING: Unknown CPU \"$tune\", ignored." echo "WARNING: Unknown CPU \"$tune\", ignored."
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment