aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3/make
diff options
context:
space:
mode:
authorMax Howell2012-09-03 11:56:29 -0400
committerMax Howell2012-09-03 15:12:31 -0400
commit9f99535d317e3aa2b04bcd8e2c020339eccc85f4 (patch)
tree23eb54de7f6e3a2e6d5993e1ef3e0ed3a8ea85ea /Library/ENV/4.3/make
parent849151536a456ad34947dee48aba7fa7a4d33cc6 (diff)
downloadhomebrew-9f99535d317e3aa2b04bcd8e2c020339eccc85f4.tar.bz2
Set CC and CXX with superenv (again)
It was dumb to have make call different compilers to configure depending on the `servile?` flag. This is not a route to reliability. Instead now we set CC (formula that break if CC is set like Jack be damned, their build-systems are just plain broken and should not be supported). When cc is called we examine HOMEBREW_CC, otherwise we instantiate the tool that was called, just like the formula's build-system will expect. Fixes #14659 (though the build fails later for me, with the same error for stdenv and superenv).
Diffstat (limited to 'Library/ENV/4.3/make')
-rwxr-xr-xLibrary/ENV/4.3/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make
index 5ec9dceb1..aff18372e 100755
--- a/Library/ENV/4.3/make
+++ b/Library/ENV/4.3/make
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
if [ $(basename "$0") == "bsdmake" ]; then
pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"