207 Commits

Author SHA1 Message Date
Jack Nagel
7b733b4087 Add pkgconfig files for 10.11
Fixes Homebrew/homebrew#40656.
2015-06-15 20:43:24 -04:00
Ryan Hendrickson
a744da3b4c superenv cc: accept single-digit g++ version
Closes Homebrew/homebrew#40117.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-26 20:13:25 -04:00
なつき
6181a786c0 compilers: support gcc 5
Closes Homebrew/homebrew#39470.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08 22:23:30 -04:00
Tim D. Smith
af57cffeb0 work around missing __debug header in Xcode CLT 6.3
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-04-19 13:41:26 -07:00
Jack Nagel
7004d3de0d Extract logging from the command class 2015-02-12 20:20:10 -05:00
Jack Nagel
384c444be8 Drop unnecessary call to compact 2015-02-12 20:09:31 -05:00
Jack Nagel
28b926686b Get the basename and dirname once 2015-02-12 19:13:03 -05:00
Jack Nagel
4b91017894 Make compiler shim robust against missing environment variables
Fixes Homebrew/homebrew#36217.
2015-02-08 20:04:07 -05:00
Jack Nagel
d4e24dce0a Get rid of cccfg? method 2015-02-08 20:04:06 -05:00
Jack Nagel
fd031f256a Add predicate methods for compiler shim configuration 2015-02-08 20:04:06 -05:00
Jack Nagel
357d0f2796 Use start_with? to simplify path sanity check 2015-02-07 13:54:33 -05:00
Jack Nagel
f438af9915 Don't prune cellar paths when cellar is in /opt
Fixes Homebrew/homebrew#35382.
2015-02-07 13:54:33 -05:00
Misty De Meo
53d848e364 cc: filter out -Wno-unused-but-set-variable
Fixes Homebrew/homebrew#35750.
2015-01-14 10:18:00 -08:00
Jack Nagel
ba8926ea11 Don't rely on PATH when invoking xcrun shim 2015-01-07 23:12:24 -05:00
Dominyk Tiller
42b35b8957 zlib & sqlite3: pkgconfig support
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-11 14:44:46 -05:00
Jack Nagel
72c21fe991 Simplify bsdmake wrapper, take 2 2014-12-05 16:54:53 -05:00
Jack Nagel
d85d5fba22 Revert "Simplify bsdmake wrapper"
Fixes Homebrew/homebrew#34713.

This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
2014-12-05 16:54:33 -05:00
Jack Nagel
fed9c9a9be Simplify bsdmake wrapper
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-12-05 11:01:11 -05:00
Jack Nagel
cb09660516 Always set sysroot for Xcode-only systems
Fixes Homebrew/homebrew#33431.
2014-10-29 11:03:54 -05:00
Manpreet Singh
dcc8309d1b ENV/pod2man: fix for machines upgraded to Yosemite
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-21 19:45:07 +01:00
Jack Nagel
21c329e0eb Simplify dispatch in git wrapper 2014-10-05 20:33:33 -05:00
Jack Nagel
5dd1092f5f Remove last usage of StrictSubversionDownloadStrategy
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-05 20:15:18 -05:00
Mike McQuaid
26c76381c8 Move SCM wrappers from Contributions to ENV/scm.
Closes Homebrew/homebrew#32615.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-02 16:03:23 -07:00
Johnathan Conley
0d154a991d Add :osxfuse dependency to support binary install.
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-09-09 10:17:03 +01:00
Jack Nagel
b5aed44825 Do not close inherited file descriptors in compiler wrapper 2014-08-17 17:35:56 -05:00
Misty De Meo
cb7b9945cd superenv: filter -Wno-long-double
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-15 20:56:06 -07:00
Brandon Bennett
ed5eef82a8 cc: blacklist -fno-inline-functions-called-once.
Closes Homebrew/homebrew#31384.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-06 10:23:39 +01:00
Dan
8bc5d71315 clang doesn't support -fuse-linker-plugin
Closes Homebrew/homebrew#30930.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-18 16:11:20 -05:00
Jack Nagel
5fee415d45 Add 10.10 pkgconfig files 2014-07-10 12:21:18 -05:00
Jack Nagel
f6780467c1 Make vendored pkgconfig files match the actual library versions 2014-07-10 12:21:18 -05:00
Jack Nagel
4a5462cfa8 Switch to "Current" Ruby framework symlink
Closes Homebrew/homebrew#29795.
Closes Homebrew/homebrew#29819.
2014-06-03 11:03:53 -05:00
Jack Nagel
3ccca7720f Rewrite xcrun wrapper in shell 2014-06-03 10:03:34 -05:00
Jack Nagel
d61615890f Fix ENV.m32 under superenv 2014-05-22 09:18:34 -05:00
Sergei Silnov
a64f2e737c Refurbish two more flags not supported by clang
'-fno-tree-pre' and '-fno-tree-dominator-opts'

Closes Homebrew/homebrew#29452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-21 11:38:40 -05:00
Jack Nagel
613292e3ce Reorganize superenv include and library path setup
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-19 14:41:02 -05:00
Jack Nagel
858da0063d Allow disabling arch flag filtering
Closes Homebrew/homebrew#17352.
2014-05-14 00:00:59 -05:00
Jack Nagel
71c0132a1b Scrub out --sysroot 2014-05-12 22:41:53 -05:00
Jack Nagel
d943d7d5fe There isn't a /usr/local in the SDK 2014-05-12 12:37:25 -05:00
Misty De Meo
38765ae9fd superenv: remove duplicate -multiply_definedsuppress filter
This reverts commit 61d8a8e029079ca1922df735683c2b5eb6a39db1.
2014-05-12 09:04:36 -07:00
Misty De Meo
7609cf88c5 clang: add another unknown flag
Fixes Homebrew/homebrew#29141.
2014-05-11 13:11:25 -07:00
Jack Nagel
cbd018a2db Fix duplicate -stdlib flags in cxxld mode
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-10 17:14:30 -05:00
Jack Nagel
df3e6bade5 Move -m32 and -m64 filtering up one level
These flags cannot be used behind -Xarch_<arch>, so stop filtering them
there.
2014-05-10 16:54:30 -05:00
Jack Nagel
5f94742afb Ensure HOMEBREW_ARCHFLAGS is always a string 2014-05-10 16:54:30 -05:00
Jack Nagel
fa3a58f399 Clang doesn't support -fno-for-scope 2014-05-08 22:24:01 -05:00
Jack Nagel
089af6627a Always use stub tools in /usr/bin on 10.9 2014-05-08 17:24:48 -05:00
Adam Vandenberg
f0f1cf2024 clang does not support -fno-regmove 2014-05-08 09:29:32 -07:00
Jack Nagel
5c37baa5e7 Remove nested conditional 2014-05-06 19:31:47 -05:00
Jack Nagel
0418865d56 Preserve -Xarch_<arch> context when filtering args 2014-05-06 18:55:04 -05:00
Jack Nagel
fb296f8224 Extract body of refurbished_args loop 2014-05-06 18:55:04 -05:00
Jack Nagel
cf23fd2e14 xcrun wrapper: rephrase comments 2014-04-29 21:51:18 -05:00