| Age | Commit message (Collapse) | Author |
|
Move some stuff formerly in `Library/ENV` around:
- Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are
all superenv wrappers and all symlinks to the same version. We never needed
the "separate shims for separate versions" functionality and it just adds
confusion.
- Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more
things under `Library/Homebrew`
- Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually
used by or related to superenv (or stdenv) in any way.
|
|
|
|
Old logic doesn't include revision. This fixes that, and passes the
whole formula prefix path to avoid duplicating the path-construction
logic.
Closes #80.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
Fixes build error in Homebrew/homebrew-core#100.
Closes #63.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
Closes #32.
Signed-off-by: Misty De Meo <mistydemeo@github.com>
|
|
This was intended to filter out MacPorts and X11 paths, but the user
may have valid reasons to have other things here that might get linked
against.
|
|
Closes #50425.
Signed-off-by: Misty De Meo <mistydemeo@github.com>
|
|
Previously, superenv did not try to filter -I or -L flags
based on the list of requested dependencies; as a result, buildsystems
which opportunistically discover Homebrew-installed libraries were able
to link against them even under superenv.
This adds a list of all requested dependencies to the superenv environment,
and compares all -I and -L flags against those; any Cellar and opt paths
found which resolve to unrequested dependencies are filtered out.
|
|
"--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>
|
|
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.
|
|
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).
|
|
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.
|
|
These weren't being filtered correctly if the compiler was being called
as g++ instead of gcc.
Fixes mistydemeo/tigerbrew#371.
|
|
Fixes mistydemeo/tigerbrew#371.
Fixes Homebrew/homebrew#47949.
|
|
`echo` is missing since f3f6552c.
|
|
It's needed by `cgo` which is used by a lot of Go software.
|
|
|
|
This reverts commit 03268031f1b371fc573c736a03f87f3a15284a0c.
|
|
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>
|
|
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>
|
|
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#40117.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#39470.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#36217.
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#35382.
|
|
Fixes Homebrew/homebrew#35750.
|
|
|
|
|
|
Fixes Homebrew/homebrew#34713.
This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
|
|
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.
|
|
Fixes Homebrew/homebrew#33431.
|
|
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>
|
|
Closes Homebrew/homebrew#32615.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
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.
|
|
Closes Homebrew/homebrew#31384.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#30930.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#29795.
Closes Homebrew/homebrew#29819.
|
|
|
|
|
|
'-fno-tree-pre' and '-fno-tree-dominator-opts'
Closes Homebrew/homebrew#29452.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
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.
|
|
Closes Homebrew/homebrew#17352.
|