diff -Nru liburcu-0.8.4/debian/changelog liburcu-0.8.4/debian/changelog --- liburcu-0.8.4/debian/changelog 2014-05-23 07:35:08.000000000 +0000 +++ liburcu-0.8.4/debian/changelog 2014-05-28 08:35:38.000000000 +0000 @@ -1,3 +1,9 @@ +liburcu (0.8.4-2.1+rpi1) jessie-staging; urgency=low + + * Disable use of armv7 options in configure.ac + + -- Peter Michael Green Mon, 23 Sep 2013 17:10:40 +0000 + liburcu (0.8.4-2.1) unstable; urgency=high * Non-maintainer upload diff -Nru liburcu-0.8.4/debian/patches/no-armv7-flags.patch liburcu-0.8.4/debian/patches/no-armv7-flags.patch --- liburcu-0.8.4/debian/patches/no-armv7-flags.patch 1970-01-01 00:00:00.000000000 +0000 +++ liburcu-0.8.4/debian/patches/no-armv7-flags.patch 2014-05-28 08:36:57.000000000 +0000 @@ -0,0 +1,24 @@ +Description: Don't pass armv7 options + The configure script detects the cpu of the build system and if it is armv7 + proceeds to pass armv7 options to the compiler thus causing use of + inappropriate options when an armv7 machine is used to build packages for + a port targetting a lower arm CPU. This patch disables that behavious +Author: Peter Michael Green + +Index: liburcu-0.8.4/configure.ac +=================================================================== +--- liburcu-0.8.4.orig/configure.ac 2014-05-28 08:36:49.000000000 +0000 ++++ liburcu-0.8.4/configure.ac 2014-05-28 08:36:49.000000000 +0000 +@@ -92,9 +92,9 @@ + 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.8.4/debian/patches/series liburcu-0.8.4/debian/patches/series --- liburcu-0.8.4/debian/patches/series 2014-05-23 07:35:08.000000000 +0000 +++ liburcu-0.8.4/debian/patches/series 2014-05-28 08:35:38.000000000 +0000 @@ -1 +1,2 @@ ignore-gcc-check.patch +no-armv7-flags.patch