Fixed compilation of mad formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
297b747090
commit
d17cf048d5
1 changed files with 5 additions and 5 deletions
|
@ -31,14 +31,14 @@ Cflags: -I${includedir}
|
||||||
fpm = 'intel'
|
fpm = 'intel'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
system "./configure", "--disable-debugging", "--enable-fpm=#{fpm}", "--prefix=#{prefix}"
|
||||||
|
|
||||||
# See: http://github.com/mxcl/homebrew/issues/issue/1263
|
# See: http://github.com/mxcl/homebrew/issues/issue/1263
|
||||||
if Hardware.intel_family == 'arrandale'
|
inreplace "Makefile" do |s|
|
||||||
inreplace "Makefile" do |s|
|
s.change_make_var! "CFLAGS", ENV['CFLAGS']
|
||||||
s.remove_make_var! %w{CFLAGS LDFLAGS}
|
s.change_make_var! "LDFLAGS", ENV['LDFLAGS']
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
system "./configure", "--disable-debugging", "--enable-fpm=#{fpm}", "--prefix=#{prefix}"
|
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
||||||
(lib+'pkgconfig/mad.pc').write mad_pc
|
(lib+'pkgconfig/mad.pc').write mad_pc
|
||||||
|
|
Loading…
Reference in a new issue