aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
AgeCommit message (Collapse)Author
2016-03-31superenv: refurbish --fast-math for :clangilovezfs
"--fast-math" caused build failure with clang for homebrew/science/delly-0.7.2 Apparently, clang only likes this option when it's referred to as "-ffast-math" Closes Homebrew/homebrew#50507. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-03-21scm/git: handle no Xcode/CLT configurationXu Cheng
`/usr/bin/<tool>` will be a popup stub under such configuration. The idea is to let `scm/git` to handle all of git location resolution throughout Homebrew codebase.
2016-02-05ENV: protect against environment being resetMartin Afanasjew
We cannot really recover from this, but at least we'll provide a clearer error message than trying to call `exec` with an empty string.
2016-02-05ENV: protect against RUBYLIB/RUBYOPTMartin Afanasjew
Some things can break in hard to debug ways if users or build scripts set these variables, causing our otherwise quite robust Ruby wrappers to fail. In theory, we could also use `--disable-rubyopt`, but this is not supported in Ruby 1.8 (and we still care about it).
2016-02-05ENV: use HOMEBREW_RUBY_PATH in compiler/SCM shimsMartin Afanasjew
Use the same interpreter for the shims that is also used to run the main Homebrew process (the one invoked via `brew`). The magic basically lies in executing `ruby` with the `-x` option (supported since at least 1.8) and in the following shebang line.
2016-01-15superenv: properly filter gcc-4.2 flagsMisty De Meo
These weren't being filtered correctly if the compiler was being called as g++ instead of gcc. Fixes mistydemeo/tigerbrew#371.
2016-01-11superenv: filter flags for older GCCsMisty De Meo
Fixes mistydemeo/tigerbrew#371. Fixes Homebrew/homebrew#47949.
2015-12-30pod2man wrapper: restore missing `echo`Xu Cheng
`echo` is missing since f3f6552c.
2015-12-29superenv/cc: don't filter out `gdwarf-2`.Mike McQuaid
It's needed by `cgo` which is used by a lot of Go software.
2015-12-27pod2man wrapper: allow non-/usr/bin pod2menMisty De Meo
2015-11-17Update libcurl pkgconfig file for 10.10Mohammad AlSaleh
This matches the version shipped with 10.10.5. The list of supported features/protocols was obtained using `curl-config`: ``` features="`curl-config --features`"; echo "${features//$'\n'/ }" protocols="`curl-config --protocols`"; echo "${protocols//$'\n'/ }" ``` Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com> Closes Homebrew/homebrew#46073. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-15Update 10.11 pkgconfig filesDominyk Tiller
Closes Homebrew/homebrew#45970. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-11Revert "cc: disable RUBYOPT variable."Mike McQuaid
This reverts commit 03268031f1b371fc573c736a03f87f3a15284a0c.
2015-11-11cc: disable RUBYOPT variable.Mike McQuaid
If this was set at build-time (i.e. by the Ruby 1.8.7 buildsystem) then `cc` could be passed arguments and fail to run. Closes Homebrew/homebrew#45890. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-13superenv: only strip sysroot flags for OS X SDKs.Alex Wang
Removing all sysroot flags is ok until a non-OS X SDK is needed. In that case, builds can fail due to the non-OS X SDK being overwritten or overridden by the OS X SDK. Sysroot flags are now only stripped if they are an OS X SDK. This is reliant on only OS X SDKs containing the string "macosx", so this will break if if the wrong SDK shows up. However, the chances of that happening seem low, as Apple probably doesn't want to introduce something OS X that doesn't work with OS X, so it should be robust for the near future. This could break in an environment without the command line tools. The fix for that is a bit more involved, though, so that will have to go later. Closes Homebrew/homebrew#44312. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-15Revert "work around missing __debug header in Xcode CLT 6.3"Tim D. Smith
Ding, dong, the witch is dead... This reverts commit fd5ca9ba16f5afc181364369210cb94e997a5a5e. Ref Homebrew/homebrew#38514, Homebrew/homebrew#38735. Closes Homebrew/homebrew#41843.
2015-08-06more core file style updated by rubocopXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-15Add pkgconfig files for 10.11Jack Nagel
Fixes Homebrew/homebrew#40656.
2015-05-26superenv cc: accept single-digit g++ versionRyan Hendrickson
Closes Homebrew/homebrew#40117. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08compilers: support gcc 5なつき
Closes Homebrew/homebrew#39470. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-04-19work around missing __debug header in Xcode CLT 6.3Tim D. Smith
uses the LLVM 3.6 debug header from: http://reviews.llvm.org/diffusion/L/browse/libcxx/tags/RELEASE_360/final/include/__debug Workaround for Homebrew/homebrew#38514. Closes Homebrew/homebrew#38735.
2015-02-12Extract logging from the command classJack Nagel
2015-02-12Drop unnecessary call to compactJack Nagel
2015-02-12Get the basename and dirname onceJack Nagel
2015-02-08Make compiler shim robust against missing environment variablesJack Nagel
Fixes Homebrew/homebrew#36217.
2015-02-08Get rid of cccfg? methodJack Nagel
2015-02-08Add predicate methods for compiler shim configurationJack Nagel
2015-02-07Use start_with? to simplify path sanity checkJack Nagel
2015-02-07Don't prune cellar paths when cellar is in /optJack Nagel
Fixes Homebrew/homebrew#35382.
2015-01-14cc: filter out -Wno-unused-but-set-variableMisty De Meo
Fixes Homebrew/homebrew#35750.
2015-01-07Don't rely on PATH when invoking xcrun shimJack Nagel
2014-12-11zlib & sqlite3: pkgconfig supportDominyk Tiller
native pkg-config support for zlib and sqlite to elimate the need to pass flags to configure or make stages in formulae. Closes Homebrew/homebrew#34765. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-05Simplify bsdmake wrapper, take 2Jack Nagel
2014-12-05Revert "Simplify bsdmake wrapper"Jack Nagel
Fixes Homebrew/homebrew#34713. This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
2014-12-05Simplify bsdmake wrapperJack Nagel
Since bsdmake is always specified as a dependency, our xcrun wrapper will always be able to find it, so we can get rid of this wrapper.
2014-10-29Always set sysroot for Xcode-only systemsJack Nagel
Fixes Homebrew/homebrew#33431.
2014-10-21ENV/pod2man: fix for machines upgraded to YosemiteManpreet Singh
Yosemite is having the same issues as Homebrew/homebrew#24590 in the past on upgraded machine. Bump to pod2man5.18. Closes Homebrew/homebrew#33436. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-05Simplify dispatch in git wrapperJack Nagel
2014-10-05Remove last usage of StrictSubversionDownloadStrategyJack Nagel
This strategy is only used in one formula, so we can just replace it with a dependency. It could be done with a requirement, but since this is a low-impact change (it only matters for head builds on Leopard), I'm not sure it's worth the effort. The constant is retained for compatibility, though I could find only one other reference to it on GitHub, in a formula that was removed from core almost two years ago.
2014-10-02Move SCM wrappers from Contributions to ENV/scm.Mike McQuaid
Closes Homebrew/homebrew#32615. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-09-09Add :osxfuse dependency to support binary install.Johnathan Conley
add :osxfuse symbolic dependency add ConflictsWithFuseForOsx requirement for osxfuse/fuse4x/fuse4x-kext Closes Homebrew/homebrew#31975. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-17Do not close inherited file descriptors in compiler wrapperJack Nagel
2014-08-15superenv: filter -Wno-long-doubleMisty De Meo
This flag was supported in gcc-4.0, but not later GCCs or clang. It pops up in older python-configs, and may also come up in other contexts. Fixes mistydemeo/tigerbrew#213.
2014-08-06cc: blacklist -fno-inline-functions-called-once.Brandon Bennett
Closes Homebrew/homebrew#31384. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-18clang doesn't support -fuse-linker-pluginDan
Closes Homebrew/homebrew#30930. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-10Add 10.10 pkgconfig filesJack Nagel
2014-07-10Make vendored pkgconfig files match the actual library versionsJack Nagel
2014-06-03Switch to "Current" Ruby framework symlinkJack Nagel
Closes Homebrew/homebrew#29795. Closes Homebrew/homebrew#29819.
2014-06-03Rewrite xcrun wrapper in shellJack Nagel