-
Jason Wessel authored
Prior to this commit it is not possible to cross build a ruby gem. In fact even on the x86 system the object files for the native gem are generated with the wrong compiler (the host compiler instead of the cross compiler). A better way to fix this in the future would be to use only gems that supported cross compile tool called rake. For now the bbclass can modify the extconf.rb just before creating the gem and insert some code into the Makefile so as to honor the cross compile environment. Signed-off-by:
Jason Wessel <jason.wessel@windriver.com> Signed-off-by:
Bruce Ashfield <bruce.ashfield@windriver.com>
9ed0aef7