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)
commit0552a367dbdc27a211daaac3359d81dd537e384f
treecac132f8bea86004ea68a82275818b1cfbd1705a
parent65b25d11df7b3f17121a28e486fbec3a14fdfdb5
Remove --{enable, disable}-debug configure flags.

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