Bo Anderson 
							
						 
					 
					
						
						
						
						
							
						
						
							b4ff330ac1 
							
						 
					 
					
						
						
							
							shims/super/cc: remove isysroot space to fix cpp  
						
						... 
						
						
						
						Fixes  #5153  
					
						2019-11-16 15:07:11 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan Chang 
							
						 
					 
					
						
						
						
						
							
						
						
							7ddc185b35 
							
						 
					 
					
						
						
							
							Fix various typos  
						
						
						
						
					 
					
						2019-08-19 16:12:34 +10:00 
						 
				 
			
				
					
						
							
							
								FX Coudert 
							
						 
					 
					
						
						
						
						
							
						
						
							7d014d0565 
							
						 
					 
					
						
						
							
							Support GCC 9  
						
						
						
						
					 
					
						2019-05-03 16:58:11 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							86f43f79ee 
							
						 
					 
					
						
						
							
							Enable/fix optional Ruby frozen string literal usage  
						
						... 
						
						
						
						Combined with https://github.com/Homebrew/homebrew-test-bot/pull/247 
this will test Homebrew's use of frozen strings in CI. After this we
will then enable it for Homebrew developers and eventually all Homebrew
users. 
						
						
					 
					
						2019-04-19 10:30:41 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef2e297d3b 
							
						 
					 
					
						
						
							
							Disable RubyGems by default.  
						
						... 
						
						
						
						This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually. 
						
						
					 
					
						2019-04-18 17:45:03 +09:00 
						 
				 
			
				
					
						
							
							
								Win Treese 
							
						 
					 
					
						
						
						
						
							
						
						
							04cb8f2a78 
							
						 
					 
					
						
						
							
							Fix regexp to allow multiple digits in Mac OS minor version.  
						
						... 
						
						
						
						The regular expression check for the -mmacosx-version-min value only
looked at a single digit in the minor version number, so it did not
compare correctly if the option was setting the minimum version
to (say) 10.11. 
						
						
					 
					
						2019-01-24 16:30:00 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							170c5493a4 
							
						 
					 
					
						
						
							
							Update deprecations  
						
						... 
						
						
						
						- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support. 
						
						
					 
					
						2019-01-08 19:13:46 +00:00 
						 
				 
			
				
					
						
							
							
								FX Coudert 
							
						 
					 
					
						
						
						
						
							
						
						
							2c09c0e0f4 
							
						 
					 
					
						
						
							
							shims/super/cc: Do not remove -Xpreprocessor argument  
						
						
						
						
					 
					
						2019-01-02 14:29:36 +01:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							b40849421c 
							
						 
					 
					
						
						
							
							shims/super/cc: Add HOMEBREW_CACHE to white list  
						
						... 
						
						
						
						Compiling rust projects requires -I$HOMEBREW_CACHE/cargo_cache/... 
						
						
					 
					
						2018-12-10 12:33:54 -08:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							6d90c81a79 
							
						 
					 
					
						
						
							
							Add shims/super/gcc-8 and shims/super/g++-8  
						
						
						
						
					 
					
						2018-12-02 14:13:24 -08:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							9e4fb40f92 
							
						 
					 
					
						
						
							
							docs: update descriptions of git- and curl-related vars  
						
						... 
						
						
						
						Note that the `HOMEBREW_FORCE_BREWED_` vars are automatically set if the system `git` and `curl` are too old. Drop mention of `HOMEBREW_GIT` which isn't user-settable. 
						
						
					 
					
						2018-10-26 23:47:59 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							25249f0114 
							
						 
					 
					
						
						
							
							shims/super/cc: detect High Sierra differently.  
						
						... 
						
						
						
						Don't rely on `RUBY_PLATFORM`'s kernel version as it's the machine that
Ruby was built on (10.5) for portable ruby. 
						
						
					 
					
						2018-09-20 13:49:10 +01:00 
						 
				 
			
				
					
						
							
							
								FX Coudert 
							
						 
					 
					
						
						
						
						
							
						
						
							481ffcf4e1 
							
						 
					 
					
						
						
							
							super/cc: bump -mmacosx-version-min on High Sierra and later  
						
						
						
						
					 
					
						2018-09-20 10:37:35 +02:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6aa7b47ae1 
							
						 
					 
					
						
						
							
							scm shim: handle edge case  
						
						... 
						
						
						
						Since #4748  `HOMEBREW_GIT` is set by the `brew.sh`, whose value is default to be `git`.
As a result, it completely bypasses the logic of the shims/scm/git.
This fixes the issue by checking whether `HOMEBREW_GIT` and
`HOMEBREW_SVN` are set to be `git` and `svn` respectively.
Fixes  #4825 . 
						
						
					 
					
						2018-09-05 16:01:36 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2086e3c9c4 
							
						 
					 
					
						
						
							
							super/cc: fix -mmacosx-version-min on Mojave.  
						
						... 
						
						
						
						It fails to accept any version < 10.6. 
						
						
					 
					
						2018-09-03 20:49:01 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9a84dbae71 
							
						 
					 
					
						
						
							
							shims/linux/make: match Linuxbrew shim.  
						
						
						
						
					 
					
						2018-08-24 08:57:57 +01:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ae32922d0f 
							
						 
					 
					
						
						
							
							swap which and command -v  
						
						
						
						
					 
					
						2018-08-23 20:48:12 +00:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							947e1eb57b 
							
						 
					 
					
						
						
							
							Fix for Linux make shim  
						
						
						
						
					 
					
						2018-07-30 09:24:46 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1a125754f 
							
						 
					 
					
						
						
							
							Merge pull request  #4487  from maxim-belkin/handle-cc  
						
						... 
						
						
						
						cc shim: handle the case when HOMEBREW_CC = cc 
						
						
					 
					
						2018-07-16 20:34:20 +01:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20001bbbda 
							
						 
					 
					
						
						
							
							Handle the case when HOMEBREW_CC = cc  
						
						
						
						
					 
					
						2018-07-16 13:40:39 -05:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							547751d067 
							
						 
					 
					
						
						
							
							Remove infinite loophole  
						
						
						
						
					 
					
						2018-06-27 15:19:56 -05:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ad6128f9b 
							
						 
					 
					
						
						
							
							Add make shim to Linux super env  
						
						
						
						
					 
					
						2018-06-27 14:08:00 -05:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							a618681cf0 
							
						 
					 
					
						
						
							
							superenv: Move macOS-specific files to shims/mac/super/  
						
						
						
						
					 
					
						2018-06-01 09:53:26 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							9e57be73ec 
							
						 
					 
					
						
						
							
							shims/super/cc: Add support for Linux  
						
						
						
						
					 
					
						2018-05-30 12:14:31 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							d587177fef 
							
						 
					 
					
						
						
							
							shims/linux/super/cc: Factor out remove_superbin_from_path  
						
						
						
						
					 
					
						2018-05-22 11:16:03 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							c507408fd4 
							
						 
					 
					
						
						
							
							shims/linux/super/cc: Do not fix gcc -R for Linux  
						
						
						
						
					 
					
						2018-05-22 11:09:02 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							40afe1cf29 
							
						 
					 
					
						
						
							
							shims/linux/super/cc: Revert unnecessary changes  
						
						
						
						
					 
					
						2018-05-22 10:25:19 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							16e5799f86 
							
						 
					 
					
						
						
							
							shims/linux/super/cc: Make changes for Linux  
						
						
						
						
					 
					
						2018-05-17 10:12:23 -07:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							abac6dfaf8 
							
						 
					 
					
						
						
							
							Add shims/linux/super  
						
						
						
						
					 
					
						2018-05-17 10:12:22 -07:00 
						 
				 
			
				
					
						
							
							
								Buck Evan 
							
						 
					 
					
						
						
						
						
							
						
						
							0a2e649f00 
							
						 
					 
					
						
						
							
							type -P is more portable than which 
						
						... 
						
						
						
						Migrated from https://github.com/Linuxbrew/brew/pull/621  
						
						
					 
					
						2018-03-18 16:51:22 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							60362605de 
							
						 
					 
					
						
						
							
							scm/git: hide prefix cd failure warning.  
						
						... 
						
						
						
						This may happen with certain checkout configurations (such as on our CI
boxes).
Also, rename the variables to be clearer about what they reference. 
						
						
					 
					
						2017-12-30 17:36:37 +00:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b40484e87c 
							
						 
					 
					
						
						
							
							Revert "Revert "shims/scm/git: Fix the search for brewed git""  
						
						
						
						
					 
					
						2017-12-23 03:37:27 -08:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0dabb464dd 
							
						 
					 
					
						
						
							
							Revert "shims/scm/git: Fix the search for brewed git"  
						
						
						
						
					 
					
						2017-12-21 15:03:40 -08:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							5c7d2d0bb5 
							
						 
					 
					
						
						
							
							shims/scm/git: Fix the search for brewed git  
						
						... 
						
						
						
						Search for brewed git in both locations:
$HOMEBREW_PREFIX/Homebrew/Library/Homebrew/shims/scm/../../../../../bin/git
$HOMEBREW_PREFIX/Library/Homebrew/shims/scm/../../../../bin/git 
						
						
					 
					
						2017-12-20 16:24:22 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3343d79b9f 
							
						 
					 
					
						
						
							
							shims/super/make: don't export MAKE=make.  
						
						... 
						
						
						
						This is redundant and breaks Handbrake:
https://github.com/HandBrake/HandBrake/issues/872  
						
						
					 
					
						2017-10-01 12:36:13 +01:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							88bf6abd10 
							
						 
					 
					
						
						
							
							shims/super/cc: Fix c++ -xc++-header  
						
						... 
						
						
						
						Compiling a precompiled header should be mode :cxx rather than :cxxld. 
						
						
					 
					
						2017-08-09 12:44:41 -07:00 
						 
				 
			
				
					
						
							
							
								Misty De Meo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							890788af65 
							
						 
					 
					
						
						
							
							FileUtils.make: don't bypass superenv  
						
						
						
						
					 
					
						2017-07-15 17:40:21 -07:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							0d03eef655 
							
						 
					 
					
						
						
							
							Revert "FileUtils.make: don't bypass superenv"  
						
						
						
						
					 
					
						2017-07-12 02:58:01 -07:00 
						 
				 
			
				
					
						
							
							
								Misty De Meo 
							
						 
					 
					
						
						
						
						
							
						
						
							2aefd7eed6 
							
						 
					 
					
						
						
							
							FileUtils.make: don't bypass superenv  
						
						
						
						
					 
					
						2017-07-07 16:23:46 -07:00 
						 
				 
			
				
					
						
							
							
								David M. Lee 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							69f3c8320f 
							
						 
					 
					
						
						
							
							Adding shims for GCC 7  
						
						
						
						
					 
					
						2017-06-07 23:37:59 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8205e61e64 
							
						 
					 
					
						
						
							
							More environment filtering tweaks  
						
						... 
						
						
						
						- only document HOMEBREW_* variables in the manpage (although still
  read from all the original environment variables).
- resort manpage environment variables in alphabetical order
- check the original path for trailing slashes 
						
						
					 
					
						2017-05-13 11:42:01 +01:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							5b1213b053 
							
						 
					 
					
						
						
							
							super/cc: Fix --cc=llvm_clang invoked as clang  
						
						... 
						
						
						
						Fix the error:
brew sh --cc=llvm_clang <<<'clang --version'
Failed to execute llvm_clang --version 
						
						
					 
					
						2017-03-08 17:11:23 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							86a9434dfc 
							
						 
					 
					
						
						
							
							Revert "Revert "cc: always filter flags on deps.""  
						
						
						
						
					 
					
						2017-02-27 13:41:30 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							f814ee87fb 
							
						 
					 
					
						
						
							
							Revert "cc: always filter flags on deps."  
						
						
						
						
					 
					
						2017-01-07 09:52:01 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e4497a2b42 
							
						 
					 
					
						
						
							
							cc: always filter flags on deps.  
						
						... 
						
						
						
						This has been tested by `brew test-bot` since March and there’s been no
issues so let’s turn it on by default. 
						
						
					 
					
						2016-12-30 14:31:05 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							ab060c9d52 
							
						 
					 
					
						
						
							
							super/cc: loosen cellar formula regex.  
						
						... 
						
						
						
						Match HOMEBREW_TAP_FORMULA_REGEX to avoid skipping valid cellar regexes. 
						
						
					 
					
						2016-12-15 15:15:13 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b9d0d7719a 
							
						 
					 
					
						
						
							
							cc: don't filter -fopenmp for non-llvm_clang.  
						
						... 
						
						
						
						We can filter it just for Clang and let it be used by anything else. 
						
						
					 
					
						2016-11-21 08:50:01 +00:00 
						 
				 
			
				
					
						
							
							
								Alex Wang 
							
						 
					 
					
						
						
						
						
							
						
						
							3e4544025d 
							
						 
					 
					
						
						
							
							Prefer brewed Clang over gcc-6 for needs :openmp  
						
						... 
						
						
						
						Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP
is required by a formula gcc is no longer the only choice of compiler.
Clang should be preferred over gcc because using gcc meant linking
against libstdc++, which is ABI incompatible with libc++. This may be
unnoticeable for some users, but it causes other builds to fail, e.g.
pstoedit when imagemagick was built with OpenMP. pstoedit is required
for the octave formula, so for some users this could be a significant
problem. 
						
						
					 
					
						2016-11-18 08:54:09 -05:00 
						 
				 
			
				
					
						
							
							
								Alex Wang 
							
						 
					 
					
						
						
						
						
							
						
						
							d2e2110e80 
							
						 
					 
					
						
						
							
							cc: Add -frounding-math to list of ignored flags  
						
						
						
						
					 
					
						2016-11-13 16:18:19 -05:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							2c43649ffc 
							
						 
					 
					
						
						
							
							superenv: prune -Wl,-z,defs when refurbishing  
						
						... 
						
						
						
						`-Wl,-z,defs` should be pruned out entirely since `-z defs` is not
understood by macOS's `ld`, and the analogue `-undefined error` is
already the default. 
						
						
					 
					
						2016-11-02 01:21:15 -07:00