Commit 7de27724 by Jeremy Kemper

Include --with-gcc config flag for gcc-4.2 on Lion, per…

Include --with-gcc config flag for gcc-4.2 on Lion, per https://github.com/ruby/ruby/commit/9151ed22b360ba3d2bde3b51969a682f9a4a3096
parent 2e843489
...@@ -151,6 +151,7 @@ use_gcc42_on_lion() { ...@@ -151,6 +151,7 @@ use_gcc42_on_lion() {
if [ "$(uname -s)" = "Darwin" ]; then if [ "$(uname -s)" = "Darwin" ]; then
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then
export CC=/usr/bin/gcc-4.2 export CC=/usr/bin/gcc-4.2
CONFIGURE_OPTS="--with-gcc=$CC $CONFIGURE_OPTS"
fi fi
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment