diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-04-02 13:26:53 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-02 13:26:53 +0900 |
| commit | 068b16a352bc19a403ac24fe9d2d9b69cabe2e0b (patch) | |
| tree | 77897122d3a9e0f9e28fe177600367635491d4d8 /examples/targets/build_config_IntelGalileo.rb | |
| parent | 226fcb4f2a267eb286e792812a2ca497c9d311c0 (diff) | |
| parent | c7ab4cf61644bf54ee9b5cca5e833bbb88c75488 (diff) | |
| download | mruby-068b16a352bc19a403ac24fe9d2d9b69cabe2e0b.tar.gz mruby-068b16a352bc19a403ac24fe9d2d9b69cabe2e0b.zip | |
Merge pull request #4959 from dsisnero/master
build when directories and files have spaces
Diffstat (limited to 'examples/targets/build_config_IntelGalileo.rb')
| -rw-r--r-- | examples/targets/build_config_IntelGalileo.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/targets/build_config_IntelGalileo.rb b/examples/targets/build_config_IntelGalileo.rb index 42f800d9f..42f39c456 100644 --- a/examples/targets/build_config_IntelGalileo.rb +++ b/examples/targets/build_config_IntelGalileo.rb @@ -39,7 +39,7 @@ MRuby::CrossBuild.new("Galileo") do |conf| cc.flags = %w(-m32 -march=i586 -c -g -Os -w -ffunction-sections -fdata-sections -MMD -DARDUINO=153) cc.flags << "--sysroot=#{GALILEO_SYSROOT}" - cc.compile_options = "%{flags} -o %{outfile} -c %{infile}" + cc.compile_options = %Q[%{flags} -o "%{outfile}" -c "%{infile}"] end conf.cxx do |cxx| @@ -54,7 +54,7 @@ MRuby::CrossBuild.new("Galileo") do |conf| conf.archiver do |archiver| archiver.command = "#{GALILEO_BIN_PATH}/i586-poky-linux-uclibc-ar" - archiver.archive_options = 'rcs %{outfile} %{objs}' + archiver.archive_options = 'rcs "%{outfile}" %{objs}' end conf.linker do |linker| |
