diff options
| author | Max Howell | 2009-09-03 22:39:49 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-03 22:39:49 +0100 |
| commit | 5c8c18870c9f4255e428e774c88f65d90819ca3b (patch) | |
| tree | e1e0b7b6766874ed89a9c8b7a3feb1a77bd521de /Library/Formula/git.rb | |
| parent | 43f1c00d085bd441a746a891640f5dd695c290f9 (diff) | |
| download | homebrew-5c8c18870c9f4255e428e774c88f65d90819ca3b.tar.bz2 | |
Fix some "GCC cannot create executables"
This regards Issue #30.
Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway.
Logic reverted to how it was yesterday.
I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files.
Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index d770ad644..3c98b44e3 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -15,7 +15,7 @@ class Git <Formula ENV['NO_FINK']='1' ENV['NO_DARWIN_PORTS']='1' - system "./configure --prefix='#{prefix}' --disable-debug" + system "./configure --prefix=#{prefix}" system "make install" # these files are exact copies of the git binary, so like the contents @@ -26,7 +26,7 @@ class Git <Formula (bin+fn).unlink (bin+fn).make_link bin+'git' end - + # we could build the manpages ourselves, but the build process depends # on many other packages, and is somewhat crazy, this way is easier GitManuals.new.brew { man.install Dir['*'] } |
