| Age | Commit message (Collapse) | Author |
|
Should help with the Xcode 5.1 madness.
Closes Homebrew/homebrew#27549.
|
|
Fixes Homebrew/homebrew-versions#364.
|
|
Closes Homebrew/homebrew#24590.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
|
|
|
|
Closes Homebrew/homebrew#26140.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
|
|
Fixes Homebrew/homebrew#25471.
|
|
|
|
I think enough time has passed that it is safe to do this now.
This reverts commit 1003161a848970e782633959904ea776dda7e48b.
|
|
Fixes Homebrew/homebrew#24654.
|
|
|
|
|
|
|
|
|
|
These inhibit warnings-as-errors, so allow them to pass through.
|
|
|
|
|
|
The mapping of architectures to optimization flags is now retrieved from
Hardware::CPU and the selected flags are passed as an environmen
variable, rather than duplicated in the cc wrapper and re-calculated on
every invocation of the compiler.
Closes Homebrew/homebrew#24540.
|
|
|
|
|
|
|
|
|
|
This reverts commit ba7ec6eb2f650ebc5a0ae09547eea423dbd45173.
Temporarily mitigate bug fixed in 1153d0f9e20d0b6a19203707b609634f8fea1ad5.
|
|
Closes Homebrew/homebrew#24285.
Refs Homebrew/homebrew#22199.
|
|
|
|
|
|
|
|
|
|
Fixes Homebrew/homebrew#24172.
|
|
Closes Homebrew/homebrew#24106.
|
|
|
|
Closes Homebrew/homebrew#24104.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains
'O', which is set by the make wrapper. This means it is disable when
running configure scripts. However, this does not include configure
scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from
the make process. make_fuss will be enabled for these scripts, cause
breakage.
Configure scripts generated by autoconf 2.56 (November 2002) or later
export DUALCASE into the environment of subprocesses. This variable is
only used by the MKS shell, so we can use it as a heuristic to determine
if we are running as a subprocess of a configure script.
|
|
In 6e3a585607116d06f47aac2ff5a649f2898216f0 ("Improve superenv
add/remove message."), more debugging information was added to the
"make_fuss" output generated by the superenv compiler
wrapper.
This resulted in some breakage in configure scripts that inspect stderr,
so in e1bd9b9e980c433878e60833f09964b8ca996657 ("Don't use stderr for
make_fuss output."), the output was moved to stdout. This only appeared
to solve the problem, since stdout is buffered but stderr is not.
Later, in fb749e47509b77b5bd89e7b14f0a1097d4af7f40, Homebrew started
generating logs even in verbose mode. This had the side effect of moving
stdout/stderr from a TTY to a pipe, and thus stdout was no longer
line-buffered.
Since it was not line-buffered, and Ruby's internal buffers were not
flushed, the debug output was being lost. This was addressed in
2d5724af8613c820b8c14f4171fe1de6a17f10c3 ("cc: ensure wrapper output is
always flushed").
This caused stdout to be flushed during configure, which resurfaced the
original bug that prompted e1bd9b9e980c433878e60833f09964b8ca996657.
This was fixed by disabling the debug output during configure, in
f1779837a46a58520560fba3850a0e2992284d0a.
Since the original bug has been addressed in a more robust way, we can
move the debug output back to stderr.
Fixes Homebrew/homebrew#23923.
|
|
Fixes Homebrew/homebrew#23885.
|
|
|
|
* Add new ENV function for selecting stdlib for Clang.
- The selection is no-op for non-system-clang compilers.
- Both superenv and stdenv are handled.
* Add new HOMEBREW_CCCFG flag and ccwrapper handling.
|
|
* Add options and ENV method to specify building in C++11 mode.
- Set C++ compiler flags to enable C++11 mode.
- To add options to support C++11 mode, a formula can now use
option :cxx11
to provide "--c++11" option, and detect and enable C++11 support in
install method using
ENV.cxx11 if build.cxx11?
Closes Homebrew/homebrew#22453.
|
|
* Using stderr breaks some configure script which fails due to contents
available in stderr.
|
|
Closes Homebrew/homebrew#23322.
|
|
* Now it includes all flags that are added or removed by superenv when
passing "--verbose" or envvar VERBOSE or HOMEBREW_VERBOSE is set.
|
|
Closes Homebrew/homebrew#22528.
|
|
Our wrapper always runs the real xcrun at least once, to try to find
the path of the tool being run, but this meant that we were generating
a huge number of error messages on every cc invocaton. Mostly this was
annoying but harmless, but notably it managed to break the compilation
of go.
|
|
|
|
|
|
|
|
|
|
|