Revert "Disable Ruby preallocated symbols"

This reverts commit d6c73c24a4.
This commit is contained in:
Alex Kotov 2022-11-29 00:49:29 +04:00
parent d6c73c24a4
commit f388fb7d5c
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
3 changed files with 1 additions and 4 deletions

View File

@ -4,12 +4,9 @@ DEST_DIR = File.join(ROOT_DIR, 'dest').freeze
MRuby::CrossBuild.new 'mrubyvisor' do |conf|
conf.toolchain :gcc
conf.disable_presym
conf.cc.defines <<
'MRB_NO_BOXING' <<
'MRB_NO_FLOAT' <<
'MRB_NO_PRESYM' <<
'MRB_NO_STDIO'
conf.cc.flags <<

View File

@ -20,7 +20,6 @@ CPPFLAGS = \
-DKERNAUX_DEBUG \
-DMRB_NO_BOXING \
-DMRB_NO_FLOAT \
-DMRB_NO_PRESYM \
-DMRB_NO_STDIO
OBJS = start.S.o main.c.o

View File

@ -12,6 +12,7 @@
#include <mruby.h>
#include <mruby/compile.h>
#include <mruby/presym.h>
#include <mruby/proc.h>
#include <mruby/string.h>