summaryrefslogtreecommitdiff
path: root/sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff')
-rw-r--r--sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff b/sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff
new file mode 100644
index 0000000..614fc52
--- /dev/null
+++ b/sys-auth/poldi/files/poldi-9999_fix_maintainer_mode.diff
@@ -0,0 +1,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
+
+ #