This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

gcc: use opt_prefix for deps

Closes #116.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
manphiz authored and jacknagel committed Nov 8, 2012
1 parent 0361177 commit 1dc5786732c5050d5080673b1a8b0ae22077ed85
Showing with 3 additions and 3 deletions.
  1. +3 −3 gcc.rb
View
6 gcc.rb
@@ -80,9 +80,9 @@ def install
"--bindir=#{bin}",
# ...which are tagged with a suffix to distinguish them.
"--program-suffix=-#{version.to_s.slice(/\d\.\d/)}",
- "--with-gmp=#{gmp.prefix}",
- "--with-mpfr=#{mpfr.prefix}",
- "--with-mpc=#{libmpc.prefix}",
+ "--with-gmp=#{gmp.opt_prefix}",
+ "--with-mpfr=#{mpfr.opt_prefix}",
+ "--with-mpc=#{libmpc.opt_prefix}",
"--with-system-zlib",
"--enable-stage1-checking",
"--enable-plugin",

0 comments on commit 1dc5786

Please sign in to comment.