diff options
| author | Wen Yang <[email protected]> | 2021-11-13 23:08:10 +0800 |
|---|---|---|
| committer | Wen Yang <[email protected]> | 2021-11-13 23:08:10 +0800 |
| commit | 35715d429531f6286e596efd89f6ceef03daceb9 (patch) | |
| tree | f06e59f388b88bf9b995eb0321acc197eeed4d2a /Makefile | |
| parent | 19c8cbdf483bb14b4dae02cee41bc657bf98909c (diff) | |
diagnost-tools: 适配kernel 5.10 + glibc 2.32
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} |
