summaryrefslogtreecommitdiffhomepage
path: root/examples/targets/build_config_IntelGalileo.rb
diff options
context:
space:
mode:
authorDominic Sisneros <[email protected]>2020-04-01 11:55:35 -0600
committerDominic Sisneros <[email protected]>2020-04-01 11:55:35 -0600
commite3875ae8c5a9cd8ebef7fa4775698bf85d7c8eb9 (patch)
tree43199871ab16f12be182bb6d06311f07b7cf4e8d /examples/targets/build_config_IntelGalileo.rb
parent5acd802d2be19872b703d6c9876aa61a262c6c8c (diff)
downloadmruby-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_IntelGalileo.rb')
-rw-r--r--examples/targets/build_config_IntelGalileo.rb4
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|