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
30576bf3
Unverified
Commit
30576bf3
authored
Mar 22, 2021
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Mar 22, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5387 from shuujii/use-global-defines-for-mruby-bin-debugger
Use global defines for `mruby-bin-debugger`
parents
2e87d83d
00a13e22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
lib/mruby/build.rb
lib/mruby/build.rb
+0
-2
mrbgems/mruby-bin-debugger/mrbgem.rake
mrbgems/mruby-bin-debugger/mrbgem.rake
+1
-1
No files found.
lib/mruby/build.rb
View file @
30576bf3
...
...
@@ -352,14 +352,12 @@ EOS
end
def
define_rules
use_mrdb
=
@gems
[
"mruby-bin-debugger"
]
compilers
.
each
do
|
compiler
|
if
respond_to?
(
:enable_gems?
)
&&
enable_gems?
compiler
.
defines
-=
%w(MRB_NO_GEMS)
else
compiler
.
defines
+=
%w(MRB_NO_GEMS)
end
compiler
.
defines
|=
%w(MRB_USE_DEBUG_HOOK)
if
use_mrdb
end
[
@cc
,
*
(
@cxx
if
cxx_exception_enabled?
)].
each
do
|
compiler
|
compiler
.
define_rules
(
@build_dir
,
MRUBY_ROOT
,
@exts
.
object
)
...
...
mrbgems/mruby-bin-debugger/mrbgem.rake
View file @
30576bf3
...
...
@@ -2,7 +2,7 @@ MRuby::Gem::Specification.new('mruby-bin-debugger') do |spec|
spec
.
license
=
'MIT'
spec
.
author
=
'mruby developers'
spec
.
summary
=
'mruby debugger command'
spec
.
build
.
defines
|=
%w(MRB_USE_DEBUG_HOOK)
spec
.
add_dependency
(
'mruby-eval'
,
:core
=>
'mruby-eval'
)
spec
.
bins
=
%w(mrdb)
...
...
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