]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Remove --{enable, disable}-debug configure flags.
authorJohan Oudinet <johan.oudinet@gmail.com>
Thu, 12 Mar 2015 15:12:25 +0000 (16:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 Jun 2015 14:24:54 +0000 (16:24 +0200)
Adding this flag when BR2_ENABLE_DEBUG is activated make several
packages to produce binaries that do not work as expected (e.g., dhcp,
lame, nano). Moreover, the help message of BR2_ENABLE_DEBUG does not
say it is adding this flag. It is supposed to build packages with
debugging symbols enabled. So, let it do that only.

* package/Makefile.in: Do not add --{enable,disable}-debug flags.
* package/pkg-autotools.mk: Remove ENABLE_DEBUG as it is not set
  anymore.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in
package/pkg-autotools.mk

index a0c5a7a48d236312b538be4b601b9c8f4e80c582..c02d31f4860bec1592e37dbbf24ac5936bb0a005 100644 (file)
@@ -373,12 +373,6 @@ ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
 TARGET_CONFIGURE_OPTS += CXX=false
 endif
 
-ifeq ($(BR2_ENABLE_DEBUG),y)
-ENABLE_DEBUG := --enable-debug
-else
-ENABLE_DEBUG := --disable-debug
-endif
-
 ifeq ($(BR2_STATIC_LIBS),y)
 SHARED_STATIC_LIBS_OPTS = --enable-static --disable-shared
 TARGET_CFLAGS += -static
index 9dea08aabfa65bffbf3721a32b0782ea7cf9ba54..1d694f0618fc4776f3edb0dcad07ee8995edb8ac 100644 (file)
@@ -202,7 +202,6 @@ define $(2)_CONFIGURE_CMDS
                --disable-dependency-tracking \
                --enable-ipv6 \
                $$(DISABLE_NLS) \
-               $$(ENABLE_DEBUG) \
                $$(SHARED_STATIC_LIBS_OPTS) \
                $$(QUIET) $$($$(PKG)_CONF_OPTS) \
        )