add base packages..
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-base / opkg / opkg / 0004-Makefile.am-remove-g-and-O-compiler-flags.patch
1 From ca86fc9ad82713e17cd69e92ce2033631fa73675 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 04/10] 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 337d94f..6af5f04 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_LIBRARIES = libbb.a
37  
38 diff --git a/tests/Makefile.am b/tests/Makefile.am
39 index 132c792..4dccb74 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.7.9.5
50