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
6 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 libbb/Makefile.am | 2 +-
10 tests/Makefile.am | 2 +-
11 3 files changed, 3 insertions(+), 3 deletions(-)
13 diff --git a/Makefile.am b/Makefile.am
14 index 26f2d99..1c6226f 100644
17 @@ -6,7 +6,7 @@ SUBDIRS = libbb libopkg src tests utils man
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@\"
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
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@
36 noinst_LIBRARIES = libbb.a
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
43 -AM_CFLAGS = $(ALL_CFLAGS) -Wall -g -O3 -I${top_srcdir}/libopkg
44 +AM_CFLAGS = $(ALL_CFLAGS) -Wall -I${top_srcdir}/libopkg
46 #noinst_PROGRAMS = opkg_hash_test opkg_extract_test
47 #noinst_PROGRAMS = libopkg_test opkg_active_list_test