summaryrefslogtreecommitdiff
path: root/package/liboil/liboil-0.3.15-arm-vfp.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 14:49:37 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 14:49:37 +0000
commit4d097fe8f9bcaa45d358a910048490c90802f235 (patch)
tree8bc2b8a0d748f890685d342474dd41a8bd8d0403 /package/liboil/liboil-0.3.15-arm-vfp.patch
parent7f4cb62a1b689ee14ead45541b7676c9932785be (diff)
liboil: don't build examples
Diffstat (limited to 'package/liboil/liboil-0.3.15-arm-vfp.patch')
-rw-r--r--package/liboil/liboil-0.3.15-arm-vfp.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/liboil/liboil-0.3.15-arm-vfp.patch b/package/liboil/liboil-0.3.15-arm-vfp.patch
new file mode 100644
index 000000000..815c9bb9a
--- /dev/null
+++ b/package/liboil/liboil-0.3.15-arm-vfp.patch
@@ -0,0 +1,16 @@
+diff --git a/configure.ac b/configure.ac
+index 06a0ac9..b8d1640 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -158,7 +158,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
+ true)
+ fi
+
+-if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
++AC_ARG_ENABLE(vfp,
++ AC_HELP_STRING([--enable-vfp],[compile with Vector Floating-point unit support]),
++ enable_vfp=$enableval,enable_vfp=yes)
++if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
+ AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
+ [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -mfpu=vfp"],
+ true)