new file mode 100644
@@ -0,0 +1,24 @@
+diff -urN a/configure b/configure
+--- a/configure 2009-10-01 20:04:08.000000000 +0200
++++ b/configure 2014-04-30 08:16:54.585441000 +0200
+@@ -11863,7 +11863,7 @@
+ case $host in
+ *)
+ DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
+- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
++ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops"
+ PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
+ esac
+ fi
+diff -urN a/configure.ac b/configure.ac
+--- a/configure.ac 2009-10-01 20:00:33.000000000 +0200
++++ b/configure.ac 2014-04-30 08:16:42.173720696 +0200
+@@ -168,7 +168,7 @@
+ case $host in
+ *)
+ DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
+- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
++ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops"
+ PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
+ esac
+ fi
@@ -6,10 +6,11 @@ LICENSE = "BSD"
inherit autotools pkgconfig
SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.gz"
+SRC_URI += "file://configure-clang.patch"
DEPENDS = "libogg"
-EXTRA_OECONF = "--disable-examples"
+EXTRA_OECONF = "--disable-examples --disable-asm"
inherit auto-package-libs
AUTO_PACKAGE_LIBS = "theoradec theoraenc"