diff options
| author | Fanjun Kong <[email protected]> | 2020-09-25 17:29:23 +0800 |
|---|---|---|
| committer | Fanjun Kong <[email protected]> | 2020-09-25 17:36:25 +0800 |
| commit | eb999b9af4402fdb1263fcfabe727be76bbeabc9 (patch) | |
| tree | 0c61f0554909f671413f192340fd95d67d5f70ba /Makefile | |
| parent | 4c0793950cef3de81a811cea2ef2169a1c09bee5 (diff) | |
diagnose-tools: Make code more robust on Ubuntu.
Signed-off-by: Fanjun Kong <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,7 +13,8 @@ else endif devel: -ifneq ($(findstring Ubuntu,$(UNAME_A)),) +ifneq ($(findstring Ubuntu,$(UNAME_A) $(shell test -e /etc/os-release && head -1 /etc/os-release)),) + apt update apt -y install gcc apt -y install g++ apt -y install libunwind8-dev @@ -24,6 +25,7 @@ ifneq ($(findstring Ubuntu,$(UNAME_A)),) apt -y install bash-completion # git自动补全 apt install openjdk-8-jdk else + yum check-update yum install -y libstdc++-static yum install -y glibc-static yum install -y zlib-devel |
