Add -Werror so we don't enable -ffat-lto-objects on FreeBSD.

This commit is contained in:
Dianne Skoll
2025-10-29 13:41:34 -04:00
parent 17985c59c3
commit a6144baff7
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -4262,7 +4262,7 @@ printf "%s\n" "$lto" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -ffat-lto-object" >&5
printf %s "checking whether $CC supports -ffat-lto-object... " >&6; }
CFLAGS="$CFLAGS -ffat-lto-objects"
CFLAGS="$CFLAGS -Werror -ffat-lto-objects"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int x = 1;