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

This commit is contained in:
Jeremy Kemper 2011-09-15 23:36:19 -07:00
parent 2e8434892d
commit 7de277248c

View file

@ -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
}