aboutsummaryrefslogtreecommitdiffstats
path: root/main/geeqie/use-default-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/geeqie/use-default-cflags.patch')
-rw-r--r--main/geeqie/use-default-cflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/geeqie/use-default-cflags.patch b/main/geeqie/use-default-cflags.patch
new file mode 100644
index 0000000000..bebd563810
--- /dev/null
+++ b/main/geeqie/use-default-cflags.patch
@@ -0,0 +1,14 @@
+diff --git a/configure.ac b/configure.ac
+index dcf56bf..e3d1e71 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,9 +17,6 @@ dnl GNU General Public License for more details.
+ AC_PREREQ(2.57)
+ AC_INIT([geeqie], 1.5, [https://github.com/BestImageViewer/geeqie/issues], [], [http://www.geeqie.org/])
+
+-# Add -Werror to the default CFLAGS
+-CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
+-
+ # Check for rightly dirs
+ AC_CONFIG_SRCDIR([src/main.c])
+