devnodes-minimal: new recipe to create /dev/console and /dev/null
[opendreambox.git] / meta-opendreambox / recipes-devtools / opkg / opkg / 0002-Makefile.am-remove-g-and-O-compiler-flags.patch
1 From 8652b2ddf6fecbfeeafed0e8c5eec67d1985241a Mon Sep 17 00:00:00 2001
2 From: Andreas Oberritter <obi@opendreambox.org>
3 Date: Thu, 17 May 2012 01:32:43 +0200
4 Subject: [PATCH 02/17] Makefile.am: remove -g and -O compiler flags
5
6 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 ---
8  Makefile.am       | 2 +-
9  libbb/Makefile.am | 2 +-
10  tests/Makefile.am | 2 +-
11  3 files changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/Makefile.am b/Makefile.am
14 index 26f2d99..1c6226f 100644
15 --- a/Makefile.am
16 +++ b/Makefile.am
17 @@ -6,7 +6,7 @@ SUBDIRS = libbb libopkg src tests utils man
18  HOST_CPU=@host_cpu@
19  BUILD_CPU=@build_cpu@
20  OPKGLIBDIR=@opkglibdir@ 
21 -ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\"
22 +ALL_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\"
23  
24  PATHFINDER_CFLAGS = @PATHFINDER_CFLAGS@
25  PATHFINDER_LIBS   = @PATHFINDER_LIBS@
26 diff --git a/libbb/Makefile.am b/libbb/Makefile.am
27 index 1cc82df..70608cf 100644
28 --- a/libbb/Makefile.am
29 +++ b/libbb/Makefile.am
30 @@ -1,6 +1,6 @@
31  HOST_CPU=@host_cpu@
32  BUILD_CPU=@build_cpu@
33 -ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
34 +ALL_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
35  
36  noinst_LTLIBRARIES = libbb.la
37  
38 diff --git a/tests/Makefile.am b/tests/Makefile.am
39 index 1a6f565..cfe77c1 100644
40 --- a/tests/Makefile.am
41 +++ b/tests/Makefile.am
42 @@ -1,4 +1,4 @@
43 -AM_CFLAGS = $(ALL_CFLAGS) -Wall -g -O3 -I${top_srcdir}/libopkg
44 +AM_CFLAGS = $(ALL_CFLAGS) -Wall -I${top_srcdir}/libopkg
45  
46  #noinst_PROGRAMS = opkg_hash_test opkg_extract_test
47  #noinst_PROGRAMS = libopkg_test opkg_active_list_test
48 -- 
49 1.8.1.2
50