diff options
Diffstat (limited to 'app-admin/rsyslog/files/8-stable/10-respect_CFLAGS-r1.patch')
-rw-r--r-- | app-admin/rsyslog/files/8-stable/10-respect_CFLAGS-r1.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/rsyslog/files/8-stable/10-respect_CFLAGS-r1.patch b/app-admin/rsyslog/files/8-stable/10-respect_CFLAGS-r1.patch new file mode 100644 index 000000000000..de89e6708c1f --- /dev/null +++ b/app-admin/rsyslog/files/8-stable/10-respect_CFLAGS-r1.patch @@ -0,0 +1,15 @@ +diff --git a/configure.ac b/configure.ac +index bebb399..5003f10 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -792,8 +792,8 @@ if test "x$enable_rsyslogrt" = "xyes"; then + fi + AM_CONDITIONAL(ENABLE_RSYSLOGRT, test x$enable_rsyslogrt = xyes) + RSRT_CFLAGS="\$(RSRT_CFLAGS1) \$(LIBESTR_CFLAGS) \$(JSON_C_CFLAGS)" +-if test "$GCC" = "yes" +-then RSRT_CFLAGS="$RSRT_CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -Werror=implicit-function-declaration -g" ++if test "$GCC" = "yes"; then ++ RSRT_CFLAGS="$RSRT_CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -Werror=implicit-function-declaration" + fi + RSRT_LIBS="\$(RSRT_LIBS1) \$(LIBESTR_LIBS) \$(JSON_C_LIBS)" + AC_SUBST(RSRT_CFLAGS1) |