Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 224507bc4b6e58f7a6e445bfebfb59d6b8d78bd6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 2 Dec 2016 17:38:51 -0800 |
| 4 | Subject: [PATCH] make relies GNU extentions |
| 5 | |
| 6 | We get errors like |
| 7 | `%'-style pattern rules are a GNU make extension |
| 8 | |
| 9 | Disable this warning, since we use gmake with OE |
| 10 | anyway |
| 11 | |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | configure.ac | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
| 19 | @@ -3,7 +3,7 @@ AC_PREREQ([2.61]) |
| 20 | AC_INIT([zbar], [0.10], [spadix@users.sourceforge.net]) |
| 21 | AC_CONFIG_AUX_DIR(config) |
| 22 | AC_CONFIG_MACRO_DIR(config) |
| 23 | -AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2]) |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 24 | +AM_INIT_AUTOMAKE([1.10 -Wall -Wno-error foreign subdir-objects std-options dist-bzip2]) |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 25 | AC_CONFIG_HEADERS([include/config.h]) |
| 26 | AC_CONFIG_SRCDIR(zbar/scanner.c) |
| 27 | LT_PREREQ([2.2]) |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 28 | @@ -47,7 +47,7 @@ AC_DEFINE_UNQUOTED([LIB_VERSION_REVISION |
| 29 | [Library revision]) |
| 30 | |
| 31 | AM_CPPFLAGS="-I$srcdir/include" |
| 32 | -AM_CFLAGS="-Wall -Wno-parentheses -Werror" |
| 33 | +AM_CFLAGS="-Wall -Wno-parentheses" |
| 34 | AM_CXXFLAGS="$AM_CFLAGS" |
| 35 | AC_SUBST([AM_CPPFLAGS]) |
| 36 | AC_SUBST([AM_CFLAGS]) |