File avifile-0.7-0.7.43-ccasflags.patch of Package avifile

--- acinclude.m4
+++ acinclude.m4
@@ -1,17 +1,3 @@
-# as.m4
-# Figure out how to run the assembler.
-
-# AM_PROG_AS
-AC_DEFUN([AM_PROG_AS],
-[# By default we simply use the C compiler to build assembly code.
-AC_REQUIRE([AC_PROG_CC])
-: ${AS='$(CC)'}
-# Set ASFLAGS if not already set.
-: ${ASFLAGS='$(CFLAGS)'}
-AC_SUBST(AS)
-AC_SUBST(ASFLAGS)
-])
-
 dnl AC_GCC_VERSION
 dnl check for compiler version
 dnl sets COMPILER_VERSION and GCC_VERSION
--- configure.in
+++ configure.in
@@ -87,7 +87,7 @@
 
 case "$target" in
   i?86*)
-    test x$ac_cv_prog_gcc = xyes && DEFAULT_FLAGS="-mcpu=$DEFAULT_FLAGS -march=$DEFAULT_FLAGS -ffast-math -fomit-frame-pointer"
+    test x$ac_cv_prog_gcc = xyes && DEFAULT_FLAGS="-ffast-math -fomit-frame-pointer"
     AC_DEFINE(ARCH_X86, 1, [Define if you want to build on x86 architecture.])
     AC_DEFINE(HAVE_MMX, 1, [Define if you want to build with mmx code.])
     ;;
openSUSE Build Service is sponsored by