aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
AgeCommit message (Collapse)Author
2014-06-03Switch to "Current" Ruby framework symlinkJack Nagel
Closes #29795. Closes #29819.
2014-06-03Rewrite xcrun wrapper in shellJack Nagel
2014-05-22Fix ENV.m32 under superenvJack Nagel
2014-05-21Refurbish two more flags not supported by clangSergei Silnov
'-fno-tree-pre' and '-fno-tree-dominator-opts' Closes #29452. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-19Reorganize superenv include and library path setupJack Nagel
I found the dual use of CMAKE_*_PATH variables to make it difficult to reason about this code. Now a separate set of variables are used to communicate with the cc wrapper, and less work is performed in the wrapper itself. We no longer pass the SDK include path as a -isystem directory on Xcode-only setups. Doing so is redundant with `--sysroot` and has other side effects, namely changing the include path search order, which can break compilation of some software (e.g. qemu). On Xcode-only 10.9, we can additionally omit `--sysroot`, as the correct paths are built into the tools. A new variable, HOMEBREW_SYSROOT, is used to this information to the wrapper. It will be unset on Xcode-only 10.9. HOMEBREW_SDKROOT will continue to be set, as it is used for other things besides setting the include search path.
2014-05-14Allow disabling arch flag filteringJack Nagel
Closes #17352.
2014-05-12Scrub out --sysrootJack Nagel
2014-05-12There isn't a /usr/local in the SDKJack Nagel
2014-05-12superenv: remove duplicate -multiply_definedsuppress filterMisty De Meo
This reverts commit 61d8a8e029079ca1922df735683c2b5eb6a39db1.
2014-05-11clang: add another unknown flagMisty De Meo
Fixes #29141.
2014-05-10Fix duplicate -stdlib flags in cxxld modeJack Nagel
When the cc wrapper is in cxxld mode, -stdlib= is added by both cxxflags and ldflags, but they are never used separately, so this results in duplicate flags.
2014-05-10Move -m32 and -m64 filtering up one levelJack Nagel
These flags cannot be used behind -Xarch_<arch>, so stop filtering them there.
2014-05-10Ensure HOMEBREW_ARCHFLAGS is always a stringJack Nagel
2014-05-08Clang doesn't support -fno-for-scopeJack Nagel
2014-05-08Always use stub tools in /usr/bin on 10.9Jack Nagel
2014-05-08clang does not support -fno-regmoveAdam Vandenberg
2014-05-06Remove nested conditionalJack Nagel
2014-05-06Preserve -Xarch_<arch> context when filtering argsJack Nagel
2014-05-06Extract body of refurbished_args loopJack Nagel
2014-04-29xcrun wrapper: rephrase commentsJack Nagel
2014-04-29xcrun wrapper: reorganize so we only access ARGV onceJack Nagel
2014-04-29xcrun wrapper: inline try methodJack Nagel
2014-04-29xcrun wrapper: skip superenv bin when walking PATHJack Nagel
2014-04-24Blacklist more flags that clang does not supportJack Nagel
Fixes #28680.
2014-04-21Print the attempted command when xcrun wrapper failsJack Nagel
2014-04-21Use File::PATH_SEPARATOR since we use it everywhere elseJack Nagel
2014-04-21Fix typoJack Nagel
2014-04-21Add some comments to the cc wrapperJack Nagel
2014-04-21Only interpolate constant regexps onceJack Nagel
2014-04-21Remove code that doesn't do anythingJack Nagel
2014-04-21Add newlines between methodsJack Nagel
2014-04-21Write the positive case firstJack Nagel
2014-04-21Make obvious that what we care about is the presence of sdkrootJack Nagel
2014-04-21Make obvious that this is a nested conditionalJack Nagel
2014-04-21Filter list before mapping itJack Nagel
2014-04-20Remove last monkeypatchJack Nagel
2014-04-20Remove nil split monkeypatchJack Nagel
2014-04-20Remove unused methodJack Nagel
2014-04-20Use original value when building the flagJack Nagel
2014-04-20Remove to_flags monkeypatchJack Nagel
2014-04-20Remove "cleanpath" monkeypatchJack Nagel
2014-04-20Use File.expand_pathJack Nagel
2014-04-20Delay loading Pathname until we absolutely need itJack Nagel
2014-04-20Use a multiline conditional to make this code more readableJack Nagel
2014-04-20Stop loading a bunch of monkeypatches every time xcrun is invokedJack Nagel
2014-04-20Use File.expand_pathJack Nagel
2014-04-20Remove obsolete DEVELOPER_DIR hacksJack Nagel
These days Homebrew refuses to do anything if the xcode-select path is busted, so this workaround is unnecessary.
2014-04-11Remove -fno-reorder-blocks for clangJack Nagel
Fixes #28289.
2014-03-28Remove -fcaller-saves and -fthread-jumps for clangJack Nagel
2014-03-25cc: don't add linker arguments if only -v passed.dinkypumpkin
Supports configure scripts (e.g., mplayer) that use "gcc -v" to identify compiler. Closes #27793. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>