|
143 | 143 | "#{compiler} -I$(<D) #{flags} - -o $@ && #{opt_command}"
|
144 | 144 | end
|
145 | 145 |
|
146 |
| - c_flags = "$(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG) -xc" |
147 |
| - cxx_flags = "$(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG) -xc++" |
| 146 | + c_flags = '$(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG) -xc' |
| 147 | + cxx_flags = '$(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG) -xc++' |
148 | 148 | opt_command = "#{opt} #{opt_passes} $@ -o $@"
|
149 | 149 |
|
150 |
| - mkconfig["TRUFFLE_RAW_COMPILE_C"] = for_file.call("$(CC)", c_flags, opt_command) |
| 150 | + mkconfig['TRUFFLE_RAW_COMPILE_C'] = for_file.call("$(CC)", c_flags, opt_command) |
151 | 151 | mkconfig['COMPILE_C'] = with_conditional_preprocessing.call(
|
152 |
| - for_pipe.call("$(CC)", c_flags, opt_command), |
153 |
| - for_file.call("$(CC)", c_flags, opt_command)) |
| 152 | + for_pipe.call('$(CC)', c_flags, opt_command), |
| 153 | + for_file.call('$(CC)', c_flags, opt_command)) |
154 | 154 |
|
155 | 155 | mkconfig['COMPILE_CXX'] = with_conditional_preprocessing.call(
|
156 |
| - for_pipe.call("$(CXX)", cxx_flags, opt_command), |
157 |
| - for_file.call("$(CXX)", cxx_flags, opt_command)) |
| 156 | + for_pipe.call('$(CXX)', cxx_flags, opt_command), |
| 157 | + for_file.call('$(CXX)', cxx_flags, opt_command)) |
158 | 158 | end
|
159 | 159 |
|
160 | 160 | # From mkmf.rb: "$(CC) #{OUTFLAG}#{CONFTEST}#{$EXEEXT} $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(src) $(LIBPATH) $(LDFLAGS) $(ARCH_FLAG) $(LOCAL_LIBS) $(LIBS)"
|
|
0 commit comments