From: Darren Tucker Date: Thu, 31 Aug 2023 13:02:35 +0000 (+1000) Subject: Set LLONG_MAX for C89 test. X-Git-Tag: V_9_5_P1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3eda68ceb2e2bb8f48e3faceb96076c3e85c20;p=thirdparty%2Fopenssh-portable.git Set LLONG_MAX for C89 test. If we don't have LLONG_MAX, configure will figure out that it can get it by setting -std=gnu99, at which point we won't be testing C89 any more. To avoid this, feed it in via CFLAGS. --- diff --git a/.github/configs b/.github/configs index 66cb2d0e8..c7d6a55ab 100755 --- a/.github/configs +++ b/.github/configs @@ -30,6 +30,13 @@ case "$config" in default|sol64) ;; c89) + # If we don't have LLONG_MAX, configure will figure out that it can + # get it by setting -std=gnu99, at which point we won't be testing + # C89 any more. To avoid this, feed it in via CFLAGS. + llong_max=`gcc -E -dM -