Skip to content

Commit 92cf25c

Browse files
committed
Fix linter warnings.
1 parent de64d60 commit 92cf25c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/truffle/rbconfig-for-mkmf.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,18 +143,18 @@
143143
"#{compiler} -I$(<D) #{flags} - -o $@ && #{opt_command}"
144144
end
145145

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++'
148148
opt_command = "#{opt} #{opt_passes} $@ -o $@"
149149

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)
151151
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))
154154

155155
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))
158158
end
159159

160160
# From mkmf.rb: "$(CC) #{OUTFLAG}#{CONFTEST}#{$EXEEXT} $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(src) $(LIBPATH) $(LDFLAGS) $(ARCH_FLAG) $(LOCAL_LIBS) $(LIBS)"

0 commit comments

Comments
 (0)