|
@@ -291,8 +291,10 @@ else
|
|
|
endif
|
|
|
endif
|
|
|
ifneq ($(feature-dwarf), 1)
|
|
|
- msg := $(warning No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev);
|
|
|
- NO_DWARF := 1
|
|
|
+ ifndef NO_DWARF
|
|
|
+ msg := $(warning No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev);
|
|
|
+ NO_DWARF := 1
|
|
|
+ endif
|
|
|
else
|
|
|
ifneq ($(feature-dwarf_getlocations), 1)
|
|
|
msg := $(warning Old libdw.h, finding variables at given 'perf probe' point will not work, install elfutils-devel/libdw-dev >= 0.157);
|