diff -Nru liburcu-0.7.6/debian/changelog liburcu-0.7.6/debian/changelog --- liburcu-0.7.6/debian/changelog 2013-05-11 19:35:01.000000000 +0000 +++ liburcu-0.7.6/debian/changelog 2013-06-04 18:39:20.000000000 +0000 @@ -1,3 +1,9 @@ +liburcu (0.7.6-2+rpi1) jessie-staging; urgency=low + + * Disable use of armv7 options in configure.ac + + -- Peter Michael Green Tue, 04 Jun 2013 18:39:03 +0000 + liburcu (0.7.6-2) unstable; urgency=low * [08b0bb6] Include upstream fix for FTBFS on sparc. diff -Nru liburcu-0.7.6/debian/patches/no-armv7-crap.patch liburcu-0.7.6/debian/patches/no-armv7-crap.patch --- liburcu-0.7.6/debian/patches/no-armv7-crap.patch 1970-01-01 00:00:00.000000000 +0000 +++ liburcu-0.7.6/debian/patches/no-armv7-crap.patch 2013-06-04 18:41:23.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Don't pass armv7 options + The configure script mis-detects the raspbian build environment as + armv7 and proceeds to pass armv7 options to the compiler. This + patch disables that behavious +Author: Peter Michael Green + +--- liburcu-0.7.6.orig/configure.ac ++++ liburcu-0.7.6/configure.ac +@@ -91,9 +91,9 @@ AS_IF([test "x$SUBARCHTYPE" = xx86compat + AC_DEFINE([CONFIG_RCU_COMPAT_ARCH], [1]) + ]) + +-AS_IF([test "$host_cpu" = "armv7l"],[ +- CFLAGS="$CFLAGS -mcpu=cortex-a9 -mtune=cortex-a9 -O1" +-]) ++#AS_IF([test "$host_cpu" = "armv7l"],[ ++# CFLAGS="$CFLAGS -mcpu=cortex-a9 -mtune=cortex-a9 -O1" ++#]) + + # ARM-specific checks + AS_IF([test "x$ARCHTYPE" = "xarm"],[ diff -Nru liburcu-0.7.6/debian/patches/series liburcu-0.7.6/debian/patches/series --- liburcu-0.7.6/debian/patches/series 2013-05-11 19:35:01.000000000 +0000 +++ liburcu-0.7.6/debian/patches/series 2013-06-04 18:39:56.000000000 +0000 @@ -1 +1,2 @@ 171ff3a34ac166a41a075749517fd3780df121da +no-armv7-crap.patch