aboutsummaryrefslogtreecommitdiffstats
path: root/main/nfs-utils/musl-configure_ac.patch
blob: d6a2afbad7ae5add6621a36faa7a4913d4ea6638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/configure.ac
+++ b/configure.ac
@@ -578,10 +578,10 @@
  -Wall \
  -Wextra \
  $rpcgen_cflags \
- -Werror=missing-prototypes \
- -Werror=missing-declarations \
+ -Wmissing-prototypes \
+ -Wmissing-declarations \
  -Werror=format=2 \
- -Werror=undef \
+ -Wundef \
  -Werror=missing-include-dirs \
  -Werror=strict-aliasing=2 \
  -Werror=init-self \
@@ -610,10 +610,10 @@
 
 CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1])
 CHECK_CCSUPPORT([-Werror=int-conversion], [flg2])
-CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3])
+#CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3])
 CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4])
 
-AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"])
+AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg4"])
 
 # Make sure that $ACLOCAL_FLAGS are used during a rebuild
 AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"])