summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2021-11-13 23:08:10 +0800
committerWen Yang <[email protected]>2021-11-13 23:08:10 +0800
commit35715d429531f6286e596efd89f6ceef03daceb9 (patch)
treef06e59f388b88bf9b995eb0321acc197eeed4d2a /Makefile
parent19c8cbdf483bb14b4dae02cee41bc657bf98909c (diff)
diagnost-tools: 适配kernel 5.10 + glibc 2.32
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ac85580..b57d966 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ ifneq ($(findstring Ubuntu,$(UNAME_A) $(shell test -e /etc/os-release && head -1
cd rpmbuild; sudo dpkg -i diagnose-tools*.deb
else
yum remove -y diagnose-tools
- yum localinstall -y rpmbuild/RPMS/x86_64/diagnose-tools-*.rpm
+ yum localinstall -y rpmbuild/RPMS/${ARCH}/diagnose-tools-*.rpm
diagnose-tools -v
endif
@@ -76,7 +76,7 @@ module:
/bin/cp -f SOURCE/module/diagnose.ko build/lib/`uname -r`/
tools:
- cd SOURCE/diagnose-tools; make clean; VENDER_LDFLAGS="-static -lunwind-x86_64 -lunwind -lelf -llzma -lz -L${DEPS}/lib -L${DEPS}/elfutils/libdwfl/" make --jobs=${JOBS}
+ cd SOURCE/diagnose-tools; make clean; VENDER_LDFLAGS="-static -L${DEPS}/lib -L${DEPS}/elfutils/libdwfl/" make --jobs=${JOBS}
java_agent:
cd SOURCE/diagnose-tools/java_agent; make --jobs=${JOBS}