summaryrefslogtreecommitdiffstats
path: root/dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff')
-rw-r--r--dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff b/dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff
new file mode 100644
index 000000000..ce2883918
--- /dev/null
+++ b/dilos/tdebindings/debian/patches/common/05_pedantic-errors.diff
@@ -0,0 +1,12 @@
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -2144,9 +2144,6 @@
+ save_CXXFLAGS="$CXXFLAGS"
+ kde_safe_LIBS="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS"
+-if test "$GXX" = "yes"; then
+-CXXFLAGS="$CXXFLAGS -pedantic-errors"
+-fi
+ AC_TRY_COMPILE([
+ $2
+ ],