(IMAKECPP): Use "${brew_prefix}/bin/cpp-4.9" instead of
authorMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 14 Nov 2014 16:12:24 +0000 (01:12 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 14 Nov 2014 16:12:24 +0000 (01:12 +0900)
"${brew_prefix}/bin/cpp".
(CC): Use "${brew_prefix}/bin/gcc-4.9" instead of
"${brew_prefix}/bin/gcc".

bootstrap.homebrew

index 041fc8e..b4cbd13 100755 (executable)
@@ -10,7 +10,8 @@ brew_prefix=`brew --prefix`
 #brew install apple-gcc42
 #export IMAKECPP=/usr/local/bin/cpp-4.2
 brew install gcc
-export IMAKECPP=${brew_prefix}/bin/cpp
+#export IMAKECPP=${brew_prefix}/bin/cpp
+export IMAKECPP=${brew_prefix}/bin/cpp-4.9
 
 brew -v install libtiff
 brew -v install openjpeg
@@ -40,7 +41,7 @@ sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.canna.plist
 
 brew -v install wget
 
-CC=${brew_prefix}/bin/gcc ./configure \
+CC=${brew_prefix}/bin/gcc-4.9 ./configure \
     --with-site-includes=/usr/X11/include \
     --with-site-libraries=/usr/X11/lib \
     --with-canna