Skip to content

Commit

Permalink
With xcodebuild don't set CC, CXX, etc.
Browse files Browse the repository at this point in the history
The compiler setting in the xcodeproj is overridden by the CC setting in the environment. This is a bit insane IMO since the xcodeproj itself has detailed decisions about what tools to use.

Fixes Homebrew#6406.
  • Loading branch information
mxcl committed Sep 10, 2011
1 parent 8838d2a commit 8eddc3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions jstalk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ def install
exit 1
end

# JSTalk specifies its particular compiler needs in jstalk.xcodeproj
ENV.delete 'CC'
ENV.delete 'CXX'

args = ["-configuration", "Release", "ONLY_ACTIVE_ARCH=YES"]
targets = ["JSTalk Framework", "jstalk command line", "JSTalk Editor"]

Expand Down
1 change: 0 additions & 1 deletion mogenerator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class Mogenerator < Formula
head "https://github.com/rentzsch/mogenerator.git"

def install
ENV.clang
system "xcodebuild -target mogenerator -configuration Release SYMROOT=symroot OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"

Expand Down

0 comments on commit 8eddc3d

Please sign in to comment.