mirror of https://github.com/acpica/acpica/
Do not strip debug info when debugging is enabled
Then DEBUG is set to TRUE, the resulting binaries contain debugging
information. Since those binaries are however always stripped during
installation, this debug information is effectively unusable.
Fix this by not stripping the resulting binaries during installation
in such a case.
Fixes: a7a2de9b80
("Makefile: add debug flag")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
This commit is contained in:
parent
0e9cfe0a6e
commit
517cb39a8c
|
@ -80,9 +80,16 @@ INSTALL = cp
|
|||
INSTALLFLAGS ?= -f
|
||||
else
|
||||
INSTALL = install
|
||||
|
||||
# Do not strip debug info when in debug mode
|
||||
ifeq ($(DEBUG),TRUE)
|
||||
INSTALLFLAGS ?= -m 555
|
||||
else
|
||||
INSTALLFLAGS ?= -m 555 -s
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
INSTALLPROG = \
|
||||
mkdir -p $(DESTDIR)$(INSTALLDIR); \
|
||||
$(INSTALL) $(INSTALLFLAGS) ../$(BINDIR)/$(PROG) $(DESTDIR)$(INSTALLDIR)/$(PROG)
|
||||
|
|
Loading…
Reference in New Issue