Bug #1

Ruby remembers C compiler and uses it when installing pacackages

Added by Redmine Admin about 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:03/09/2009
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

100%

Category:Aports
Target version:Alpine 1.9 beta

Description

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'"

Associated revisions

Revision 7904d45c
Added by Natanael Copa almost 3 years ago

extra/ruby: set arch to CARCH, disable distcc/ccache

the CC variable is remembered in rbconfig.rb.
fixes #1

History

Updated by Natanael Copa almost 3 years ago

  • Status changed from New to Resolved

this is resolved in ruby-1.8.7_p160-r3

Updated by Natanael Copa almost 3 years ago

  • % Done changed from 0 to 100

Updated by Natanael Copa almost 3 years ago

  • Target version set to Alpine 1.9 beta

Updated by Natanael Copa almost 3 years ago

  • Category set to Aports
  • Status changed from Resolved to Closed
  • Assignee set to Natanael Copa

Also available in: Atom PDF