Skip to content

Commit

Permalink
Only install bin and share and NOT lib.
Browse files Browse the repository at this point in the history
This prevents libcc1.so to be symlinked into /usr/local/lib which then
may conflict with other gcc installations.
  • Loading branch information
niklarm committed Oct 5, 2017
1 parent 59e4cc9 commit 602accd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arm-none-eabi-gcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class ArmNoneEabiGcc < Formula
sha256 '7d3080514a2899d05fc55466cdc477e2448b6a62f536ffca3dd846822ff52900'

def install
system 'cp', '-r', 'arm-none-eabi', 'bin', 'lib', 'share', "#{prefix}/"
bin.install Dir["bin/*"]
share.install Dir["share/*"]
end
end

0 comments on commit 602accd

Please sign in to comment.