mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-29 13:15:33 +01:00
Include --with-gcc config flag for gcc-4.2 on Lion, per 9151ed22b3
This commit is contained in:
parent
2e8434892d
commit
7de277248c
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ use_gcc42_on_lion() {
|
|||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then
|
||||
export CC=/usr/bin/gcc-4.2
|
||||
CONFIGURE_OPTS="--with-gcc=$CC $CONFIGURE_OPTS"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue