Add Upstream-Status to patches of connman-ncurses
[AGL/meta-agl.git] / meta-agl-core / recipes-connectivity / connman-ncurses / connman-ncurses / 0001-Do-not-overwrite-CFLAGS.patch
1 From 50ca6e010c3ca3f7cb06dfdf5dbdfaacd4f4749a Mon Sep 17 00:00:00 2001
2 From: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 Date: Tue, 19 Jul 2022 23:28:21 +0200
4 Subject: [PATCH] Do not overwrite CFLAGS
5
6 Upstream-Status: Pending
7
8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
9 ---
10  configure.ac | 16 ++++++++--------
11  1 file changed, 8 insertions(+), 8 deletions(-)
12
13 diff --git a/configure.ac b/configure.ac
14 index 7e3307f..c385bc0 100644
15 --- a/configure.ac
16 +++ b/configure.ac
17 @@ -24,14 +24,14 @@ AC_PROG_CC
18  AC_PROG_CC_C99
19  AM_PROG_CC_C_O
20  
21 -CFLAGS=""
22 -
23 -AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
24 -                       [disable code optimization through compiler]), [
25 -       if (test "${enableval}" = "no"); then
26 -               CFLAGS="$CFLAGS -O0 -U_FORTIFY_SOURCE"
27 -       fi
28 -])
29 +#CFLAGS=""
30 +#
31 +#AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
32 +#                      [disable code optimization through compiler]), [
33 +#      if (test "${enableval}" = "no"); then
34 +#              CFLAGS="$CFLAGS -O0 -U_FORTIFY_SOURCE"
35 +#      fi
36 +#])
37  
38  AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
39                         [enable compiling with debugging information]), [