[Ffmpeg-cvslog] r5698 - in trunk: common.mak configure

diego subversion
Mon Jul 10 02:12:38 CEST 2006


Author: diego
Date: Mon Jul 10 02:12:38 2006
New Revision: 5698

Modified:
   trunk/common.mak
   trunk/configure

Log:
Move UltraSparc CFLAG addition to configure.


Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	(original)
+++ trunk/common.mak	Mon Jul 10 02:12:38 2006
@@ -15,11 +15,6 @@
 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)

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Jul 10 02:12:38 2006
@@ -1048,6 +1048,9 @@
         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."
         ;;




More information about the ffmpeg-cvslog mailing list