summaryrefslogtreecommitdiff
path: root/sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff
blob: 614fc52e940609eb1f7521d757f92441c2e6feab (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
--- configure.ac	2016-11-09 20:17:10.432418239 +0100
+++ configure.ac.new	2016-11-09 20:20:10.576078868 +0100
@@ -76,8 +76,6 @@
 #endif
 ])
 
-AM_MAINTAINER_MODE
-
 # Checks for programs.
 AC_PROG_MAKE_SET
 AM_SANITY_CHECK
@@ -127,12 +125,7 @@
 AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
 
 if test "$GCC" = yes; then
-    if test "$USE_MAINTAINER_MODE" = "yes"; then
-        CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
-        CFLAGS="$CFLAGS -Wformat-nonliteral"
-    else
         CFLAGS="$CFLAGS -Wall"
-    fi
 fi
 
 #