aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2020-09-18 11:43:10 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-09-18 14:01:27 +0200
commit53ce8104a7b0e1c4c79ab17d5faddce6ad16a1f1 (patch)
treedaccbaf04838355cfcaad8af6a39466f300f37cb /Makefile
parent49ad2baf8c5cafd60777a0e48f65e0f817bee8ca (diff)
Makefile: try to install g++ package explicitly
Since executor/gen.go invokes "gcc kvm_gen.cc kvm.S -o kvm_gen", g++ is needed. go generate ./pkg/csource ./executor ./pkg/ifuzz ./pkg/build ./pkg/html gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory compilation terminated. executor/gen.go:6: running "bash": exit status 1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 542a3ac93..565edee11 100644
--- a/Makefile
+++ b/Makefile
@@ -343,6 +343,7 @@ install_prerequisites:
sudo apt-get install -y -q g++-mips64el-linux-gnuabi64 || true
sudo apt-get install -y -q g++-s390x-linux-gnu || true
sudo apt-get install -y -q g++-riscv64-linux-gnu || true
+ sudo apt-get install -y -q g++ || true
sudo apt-get install -y -q clang-tidy || true
sudo apt-get install -y -q clang clang-format ragel
GO111MODULE=off go get -u golang.org/x/tools/cmd/goyacc