Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
0c8bac5a
Commit
0c8bac5a
authored
Mar 01, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert wrong build_config.rb
parent
7e11388d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
build_config.rb
build_config.rb
+0
-21
No files found.
build_config.rb
View file @
0c8bac5a
...
...
@@ -4,14 +4,11 @@ MRuby::Build.new do |conf|
# Gets set by the VS command prompts.
if
ENV
[
'VisualStudioVersion'
]
toolchain
:visualcpp
#elsif `uname` =~ /Darwin/
#toolchain :clang
else
toolchain
:gcc
end
enable_debug
enable_cxx_abi
# Use mrbgems
# conf.gem 'examples/mrbgems/ruby_extension_example'
...
...
@@ -25,24 +22,6 @@ MRuby::Build.new do |conf|
# include the default GEMs
conf
.
gembox
'default'
conf
.
enable_bintest
=
true
conf
.
cc
.
flags
=
[
'gcc'
]
+
conf
.
cc
.
flags
# [conf.cc.command] + conf.cc.flags
conf
.
cc
.
command
=
'ccache'
conf
.
cc
.
flags
+=
%w[-O0 -Wall -Wextra -Wno-parentheses-equality -Wdeclaration-after-statement -Werror=declaration-after-statement]
conf
.
cxx
.
flags
=
[
conf
.
cxx
.
command
]
+
conf
.
cxx
.
flags
conf
.
cxx
.
command
=
'ccache'
conf
.
cxx
.
flags
+=
%w[-O0 -Wall -Wextra -Wno-parentheses-equality -Werror-declaration-after-statement]
conf
.
linker
.
command
=
'clang++'
conf
.
cc
.
defines
<<
'MRB_GC_FIXED_ARENA'
# conf.enable_mrbconf :gc_fixed_arena
# conf.gem "#{MRUBY_ROOT}/mruby-uv"
conf
.
gem
"
#{
MRUBY_ROOT
}
/mruby-sharedlib"
# conf.gem "#{MRUBY_ROOT}/mruby-onig-regexp"
conf
.
gem
:core
=>
'mruby-bin-strip'
# C compiler settings
# conf.cc do |cc|
# cc.command = ENV['CC'] || 'gcc'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment