blob: 71a56e08757b3d676d886423c2323d105d93e793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -pNaru5 a/configure b/configure
--- a/configure 2022-11-02 12:57:58.000000000 -0400
+++ b/configure 2024-09-04 15:19:46.614998876 -0400
@@ -3807,15 +3807,15 @@ $as_echo_n "checking for gcc version...
if test "$gccmajor" -gt 3 || test "$gccmajor" -eq 3 -a "$gccminor" -ge 2
then
if test "$platform" = "i386"; then
echo ">= 3.2 ($gccver)"
- CFLAGS="-O2 -fPIC"
+ CFLAGS="-O2 -fPIC -Wno-implicit-function-declaration -Wno-implicit-int"
KCFLAGS="-O2 -march=i486 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -DCPU=586"
elif test "$platform" = "x86_64"; then
echo ">= 3.2 ($gccver)"
- CFLAGS="-O2 -fPIC"
+ CFLAGS="-O2 -fPIC -Wno-implicit-function-declaration -Wno-implicit-int"
KCFLAGS="-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common \
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-limit=2000 \
-fno-strength-reduce -Wno-sign-compare -fno-asynchronous-unwind-tables"
elif test "$platform" = "ia64"; then
echo ">= 3.2 ($gccver)"
|