Ruby remembers C compiler and uses it when installing pacackages
When I try to install any additional package for ruby with c files it will use the same compile as which it was build. ncopa uses distcc so it will try to use it. Reference can be find here:
usr\lib\ruby\1.8\i686-linux\rbconfig.rb
Line 69 : CONFIG[“CC”] = “distcc”
Line 74 : CONFIG[“CPP”] = “distcc -E”
Line 147 : CONFIG[“configure_args”] = " ‘—prefix=/usr’
‘—sysconfdir=/etc’ ‘—mandir=/usr/share/man’ ‘—infodir=/usr/share/info’
‘—enable-shared’ ‘CC=distcc’ ‘CFLAGS=-march=i486 -Os
-fomit-frame-pointer’ ‘LDFLAGS=-Wl,—as-needed’ ‘CPPFLAGS=-march=i486 -Os
-fomit-frame-pointer’"
(from redmine: issue id 1, created on 2009-03-09, closed on 2009-07-30)
- Changesets:
- Revision 7904d45c on 2009-07-06T12:07:00Z:
extra/ruby: set arch to CARCH, disable distcc/ccache
the CC variable is remembered in rbconfig.rb.
fixes #1