Skip to content

Commit

Permalink
Merge pull request #4 from adamvr/master
Browse files Browse the repository at this point in the history
Adjusted LD build option to point to /usr/bin/ld
  • Loading branch information
ndevenish committed Aug 21, 2012
2 parents aaaad33 + c7f661f commit c900231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/extend/ENV.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def setup_build_environment
if SystemCommand.platform == :linux
self['CC'] = '/usr/bin/cc'
self['CXX'] = '/usr/bin/c++'
self['LD'] = '/usr/bin/ld'
cflags = ['-O3']
else
# Os is the default Apple uses for all its stuff so let's trust them
Expand All @@ -45,7 +46,7 @@ def setup_build_environment
# to use a specific linker. However doing this in general causes formula to
# build more successfully because we are changing CC and many build systems
# don't react properly to that.
self['LD'] = self['CC']
self['LD'] ||= self['CC']
end

def deparallelize
Expand Down

0 comments on commit c900231

Please sign in to comment.