diff options
| author | Dominic Sisneros <[email protected]> | 2020-04-01 11:55:35 -0600 |
|---|---|---|
| committer | Dominic Sisneros <[email protected]> | 2020-04-01 11:55:35 -0600 |
| commit | e3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9 (patch) | |
| tree | 43199871ab16f12be182bb6d06311f07b7cf4e8d /examples/targets/build_config_chipKITMax32.rb | |
| parent | 5acd802d2be19872b703d6c9876aa61a262c6c8c (diff) | |
| download | mruby-e3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9.tar.gz mruby-e3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9.zip | |
build when directories and files have spaces
Modified the build to quote filenames so that it builds when files have spaces
Diffstat (limited to 'examples/targets/build_config_chipKITMax32.rb')
| -rw-r--r-- | examples/targets/build_config_chipKITMax32.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/targets/build_config_chipKITMax32.rb b/examples/targets/build_config_chipKITMax32.rb index 951f71483..8617d8d10 100644 --- a/examples/targets/build_config_chipKITMax32.rb +++ b/examples/targets/build_config_chipKITMax32.rb @@ -39,7 +39,7 @@ MRuby::CrossBuild.new("chipKITMax32") do |conf| cc.flags = %w(-O2 -mno-smart-io -w -ffunction-sections -fdata-sections -g -mdebugger -Wcast-align -fno-short-double -mprocessor=32MX795F512L -DF_CPU=80000000L -DARDUINO=23 -D_BOARD_MEGA_ -DMPIDEVER=0x01000202 -DMPIDE=23) - cc.compile_options = "%{flags} -o %{outfile} -c %{infile}" + cc.compile_options = %Q[%{flags} -o "%{outfile}" -c "%{infile}"] #configuration for low memory environment cc.defines << %w(MRB_HEAP_PAGE_SIZE=64) @@ -60,7 +60,7 @@ MRuby::CrossBuild.new("chipKITMax32") do |conf| conf.archiver do |archiver| archiver.command = "#{PIC32_PATH}/compiler/pic32-tools/bin/pic32-ar" - archiver.archive_options = 'rcs %{outfile} %{objs}' + archiver.archive_options = 'rcs "%{outfile}" %{objs}' end #no executables |
