kconfig: fix the check-lxdialog.sh to work with gcc 14+

Message-ID: <20250304130949.6915-1-nikola@radojevic.rs>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
nikolar via SeaBIOS
2025-03-04 14:09:49 +01:00
committed by Gerd Hoffmann
parent 8863cbbd15
commit 9029a010ec

View File

@ -43,7 +43,7 @@ trap "rm -f $tmp" 0 1 2 3 15
check() {
$cc -x c - -o $tmp 2>/dev/null <<'EOF'
#include CURSES_LOC
main() {}
int main() {}
EOF
if [ $? != 0 ]; then
echo " *** Unable to find the ncurses libraries or the" 1>&2