Skip to content

Instantly share code, notes, and snippets.

@oglops
Created September 10, 2015 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oglops/00e796e90e3b07d4f72e to your computer and use it in GitHub Desktop.
Save oglops/00e796e90e3b07d4f72e to your computer and use it in GitHub Desktop.
remove -Werror from ZBar configure.ac
--- configure.ac 2015-09-10 13:08:44.918431422 +0800
+++ configure.new.ac 2015-09-10 13:14:32.289924618 +0800
@@ -3,7 +3,7 @@
AC_INIT([zbar], [0.10], [spadix@users.sourceforge.net])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)
-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2])
+AM_INIT_AUTOMAKE([1.10 -Wall foreign subdir-objects std-options dist-bzip2])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR(zbar/scanner.c)
LT_PREREQ([2.2])
@@ -47,7 +47,7 @@
[Library revision])
AM_CPPFLAGS="-I$srcdir/include"
-AM_CFLAGS="-Wall -Wno-parentheses -Werror"
+AM_CFLAGS="-Wall -Wno-parentheses"
AM_CXXFLAGS="$AM_CFLAGS"
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CFLAGS])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment