mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/sysprof: disable debuginfod support
This fixes building sysprof when elfutils is also selected (which is
a common setup). The debuginfod client support relies in elfutils
being built with the libdebuginfod option enabled; but Buildroot
unconditionally disables it in the elfutils package. See commit [1].
[1] 52c5c6050c
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Julien: add link to commit disabling debuginfod]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
3ae80441ed
commit
8d01dfebd3
@@ -12,6 +12,7 @@ SYSPROF_LICENSE = GPL-3.0+
|
||||
SYSPROF_LICENSE_FILES = COPYING
|
||||
SYSPROF_DEPENDENCIES = libglib2 libdex libunwind json-glib polkit
|
||||
SYSPROF_CONF_OPTS = \
|
||||
-Ddebuginfod=disabled \
|
||||
-Ddevelopment=false \
|
||||
-Dexamples=false \
|
||||
-Dgtk=false \
|
||||
@@ -22,13 +23,6 @@ SYSPROF_CONF_OPTS = \
|
||||
-Dtools=true \
|
||||
-Dsystemdunitdir=/usr/lib/systemd/system
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
||||
SYSPROF_DEPENDENCIES += elfutils
|
||||
SYSPROF_CONF_OPTS += -Ddebuginfod=enabled
|
||||
else
|
||||
SYSPROF_CONF_OPTS += -Ddebuginfod=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
SYSPROF_DEPENDENCIES += systemd
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user