Commit 713d509c authored by Ari's avatar Ari

Fix GCC configuration error.

Apparently GCC builds require explicit locations for these libraries.
parent 8e9b0871
......@@ -24,7 +24,10 @@ class ArmElfGcc < Formula
system '../configure', '--disable-nls', '--target=arm-elf-eabi', '--disable-werror',
"--prefix=#{prefix}",
"--enable-languages=c",
"--without-headers"
"--without-headers",
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}",
"--with-mpc=#{Formula["libmpc"].opt_prefix}"
system 'make all-gcc'
system 'make install-gcc'
FileUtils.ln_sf binutils.prefix/"arm-elf-eabi", prefix/"arm-elf-eabi"
......
......@@ -27,7 +27,10 @@ class I586ElfGcc < Formula
'--disable-werror',
"--prefix=#{prefix}",
"--enable-languages=c",
"--without-headers"
"--without-headers",
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}",
"--with-mpc=#{Formula["libmpc"].opt_prefix}"
system 'make all-gcc'
system 'make install-gcc'
FileUtils.ln_sf binutils.prefix/"i586-elf", prefix/"i586-elf"
......
......@@ -25,7 +25,10 @@ class X8664ElfGcc < Formula
system '../configure', '--disable-nls', '--target=x86_64-elf','--disable-werror',
"--prefix=#{prefix}",
"--enable-languages=c",
"--without-headers"
"--without-headers",
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}",
"--with-mpc=#{Formula["libmpc"].opt_prefix}"
system 'make all-gcc'
system 'make install-gcc'
FileUtils.ln_sf binutils.prefix/"x86_64-elf", prefix/"x86_64-elf"
......
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