X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flightning%2F0001-cross-compilation-configure-fixes.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flightning%2F0001-cross-compilation-configure-fixes.patch;h=6ced20291005456bc9b6cbac4e3a35ad5b74f8f2;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/lightning/0001-cross-compilation-configure-fixes.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/lightning/0001-cross-compilation-configure-fixes.patch new file mode 100644 index 0000000..6ced202 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/lightning/0001-cross-compilation-configure-fixes.patch @@ -0,0 +1,40 @@ +Assume that the functionality is not present + +Patch written by Holger Hans Peter Freyther, and fetched from +http://lists.gnu.org/archive/html/lightning/2014-11/msg00002.html. + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 031279d..a36bed6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -184,7 +184,7 @@ elif test $cpu = x86; then + : "0" (1)); + return (edx & 1 << 26) ? 0 : 1; + } +- ]])],[ac_cv_test_x86_x87=yes],[][]) ++ ]])],[ac_cv_test_x86_x87=yes],[],[ac_cv_test_x86_x87=no]) + elif test $cpu = arm; then + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include +@@ -207,7 +207,7 @@ elif test $cpu = arm; then + #endif + return 1; + } +- ]])],[ac_cv_test_arm_arm=yes],[][]) ++ ]])],[ac_cv_test_arm_arm=yes],[],[ac_cv_test_arm_arm=no]) + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include + int main(void) { +@@ -229,7 +229,7 @@ elif test $cpu = arm; then + #endif + return 1; + } +- ]])],[ac_cv_test_arm_swf=yes],[][]) ++ ]])],[ac_cv_test_arm_swf=yes],[],[ac_cv_test_arm_swf=no]) + fi + CFLAGS=$save_CFLAGS