glibc: add debug symbols when BR2_ENABLE_DEBUG
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
db7b7fe0ee
commit
1221df7bc6
|
@ -47,6 +47,10 @@ else ifeq ($(BR2_MIPS_OABI32),y)
|
|||
GLIBC_EXTRA_CFLAGS += -mabi=32
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
GLIBC_EXTRA_CFLAGS += -g
|
||||
endif
|
||||
|
||||
# The stubs.h header is not installed by install-headers, but is
|
||||
# needed for the gcc build. An empty stubs.h will work, as explained
|
||||
# in http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html. The same trick
|
||||
|
|
Loading…
Reference in a new issue