1 From 40eb9ce75518817762a0eac4a93016ab817add89 Mon Sep 17 00:00:00 2001
2 From: Lee Duncan <lduncan@suse.com>
3 Date: Sat, 1 Feb 2020 10:23:04 -0800
4 Subject: [PATCH] Fix 586 compile issue and remove -Werror
6 Using -Werror causes any issue to break the build, whereas
7 I'd rather let the build continue and address the issue.
9 Also, fixed one signed-vs-unsigned compare for time_t, which
10 shows up only on 586 (32-bit).
14 2 files changed, 2 insertions(+), 2 deletions(-)
18 @@ -17,7 +17,7 @@ AC_PATH_PROG(SH, sh)
19 dnl C Compiler features
21 if test "$GCC" = "yes"; then
22 - CFLAGS="-Wall -Werror -Wextra $CFLAGS"
23 + CFLAGS="-Wall -Wextra $CFLAGS"
24 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
29 @@ -401,7 +401,7 @@ check_portal_registration(__attribute__(
32 last_modified = isns_object_last_modified(obj);
33 - if (last_modified + 2 * interval > now) {
34 + if ((time_t)(last_modified + 2 * interval) > now) {