We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a08fb71 + fe10789 commit cdf322fCopy full SHA for cdf322f
components/mruby_component/esp32_build_config.rb
@@ -32,7 +32,7 @@
32
cc.include_paths << ENV["COMPONENT_INCLUDES"].split(' ')
33
34
cc.flags << '-Wno-maybe-uninitialized'
35
- cc.flags.collect! { |x| x.gsub('-MP', '') }
+ cc.flags = cc.flags.flatten.collect { |x| x.gsub('-MP', '') }
36
37
cc.defines << %w(MRB_HEAP_PAGE_SIZE=64)
38
cc.defines << %w(MRB_USE_IV_SEGLIST)
@@ -47,7 +47,7 @@
47
conf.cxx do |cxx|
48
cxx.include_paths = conf.cc.include_paths.dup
49
50
- cxx.flags.collect! { |x| x.gsub('-MP', '') }
+ cxx.flags = cxx.flags.flatten.collect { |x| x.gsub('-MP', '') }
51
52
cxx.defines = conf.cc.defines.dup
53
end
0 commit comments