diff options
Diffstat (limited to 'meta/recipes-extended/quota/quota/0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch')
-rw-r--r-- | meta/recipes-extended/quota/quota/0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/quota/quota/0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch b/meta/recipes-extended/quota/quota/0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch new file mode 100644 index 0000000000..6add4708ae --- /dev/null +++ b/meta/recipes-extended/quota/quota/0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 776757a23e9930588950c7fcbc7827ec7a3e51c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com> | ||
3 | Date: Mon, 4 Jan 2016 15:48:19 +0100 | ||
4 | Subject: [PATCH] Do not accidentaly override commandline passed CFLAGS. | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | |||
11 | Signed-off-by: Tomáš Chvátal <tchvatal@suse.com> | ||
12 | Signed-off-by: Jan Kara <jack@suse.cz> | ||
13 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
14 | --- | ||
15 | configure.ac | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index 3ba1386..1552c15 100644 | ||
20 | --- a/configure.ac | ||
21 | +++ b/configure.ac | ||
22 | @@ -53,7 +53,7 @@ AS_IF([test "x${prefix}" = "xNONE"], [ | ||
23 | # ================ | ||
24 | # Check for cflags | ||
25 | # ================ | ||
26 | -CFLAGS="-D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" | ||
27 | +CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" | ||
28 | AC_ARG_ENABLE([werror], | ||
29 | [AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, useful for development])], | ||
30 | [enable_werror="$enableval"], | ||
31 | -- | ||
32 | 2.4.0 | ||
33 | |||