mirror of
https://github.com/tailix/mrubyvisor.git
synced 2024-11-11 13:50:47 -05:00
Disable Ruby preallocated symbols
This commit is contained in:
parent
4cfcd315be
commit
cc6dc9d336
2 changed files with 4 additions and 0 deletions
|
@ -4,10 +4,13 @@ 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_GEMS' <<
|
||||
'MRB_NO_PRESYM' <<
|
||||
'MRB_NO_STDIO'
|
||||
|
||||
conf.cc.flags <<
|
||||
|
|
|
@ -21,6 +21,7 @@ CPPFLAGS = \
|
|||
-DMRB_NO_BOXING \
|
||||
-DMRB_NO_FLOAT \
|
||||
-DMRB_NO_GEMS \
|
||||
-DMRB_NO_PRESYM \
|
||||
-DMRB_NO_STDIO
|
||||
|
||||
OBJS = start.S.o main.c.o
|
||||
|
|
Loading…
Reference in a new issue