29 lines
844 B
Diff
29 lines
844 B
Diff
From 09560af2a5cb3db08fe428906c0af76bf09594f0 Mon Sep 17 00:00:00 2001
|
|
From: Christine Caulfield <ccaulfie@redhat.com>
|
|
Date: Mon, 29 Jan 2024 08:41:23 +0000
|
|
Subject: [PATCH] Don't build with -ansi by default
|
|
|
|
-ansi restricts the code to C90 standard which can break some
|
|
included headers (specifically seen on freebsd-devel), so don't
|
|
make it the default.
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 67b9ddd3..e05de3a0 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -186,7 +186,7 @@ AC_SUBST(PKGNAME)
|
|
|
|
AC_ARG_ENABLE([ansi],
|
|
[ --enable-ansi force GCC to compile to ANSI/ANSI standard for older compilers.
|
|
- [default=yes]])
|
|
+ [default=no]])
|
|
|
|
AC_ARG_ENABLE([fatal-warnings],
|
|
[ --enable-fatal-warnings very pedantic and fatal warnings for gcc
|
|
--
|
|
2.25.1
|
|
|