Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit dc25d94

Browse files
committed
build linux binaries with gcc-4.8
1 parent fb8aaa8 commit dc25d94

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

release/x86-linux/Vagrantfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ Vagrant.configure(2) do |config|
6767
# documentation for more information about their specific syntax and use.
6868
config.vm.provision "shell", inline: <<-SHELL
6969
sudo apt-get update
70-
sudo apt-get install -y build-essential git git-svn python ruby ruby-dev
71-
sudo gem install bundler
70+
sudo apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev
71+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
72+
sudo update-alternatives --config gcc
73+
gem install bundler
7274
SHELL
7375
end

release/x86_64-linux/Vagrantfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ Vagrant.configure(2) do |config|
6767
# documentation for more information about their specific syntax and use.
6868
config.vm.provision "shell", inline: <<-SHELL
6969
sudo apt-get update
70-
sudo apt-get install -y build-essential git git-svn python ruby ruby-dev
71-
sudo gem install bundler
70+
sudo apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev
71+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
72+
sudo update-alternatives --config gcc
73+
gem install bundler
7274
SHELL
7375
end

0 commit comments

Comments
 (0)