1
0
Fork 0
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:
Alex Kotov 2022-11-27 17:48:42 +04:00
parent 4cfcd315be
commit cc6dc9d336
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 4 additions and 0 deletions

View file

@ -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 <<

View file

@ -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