brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Superenv#generic_setup_build_environment
The HOMEBREW_CCCFG ENV variable is used by the ENV/cc tool to control
compiler flag stripping. It consists of a string of characters which act
as flags. Some of these flags are mutually exclusive.
O - Enables argument refurbishing. Only active under the
make/bsdmake wrappers currently.
x - Enable C++11 mode.
g - Enable "-stdlib=libc++" for clang.
h - Enable "-stdlib=libstdc++" for clang.
K - Don't strip -arch <arch>, -m32, or -m64
On 10.8 and newer, these flags will also be present:
s - apply fix for sed's Unicode support
a - apply fix for apr-1-config pathEdit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/extend/ENV/super.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Superenv-generic_setup_build_environment-for-pr
# Commit to gitgit add Library/Homebrew/extend/ENV/super.rbgit commit -m "better docs for Superenv#generic_setup_build_environment"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Superenv-generic_setup_build_environment-for-pr
hub pull-request
# Celebrate!