File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -576,14 +576,8 @@ def cc_command(opt="")
576
576
conf = RbConfig ::CONFIG . merge ( 'hdrdir' => $hdrdir. quote , 'srcdir' => $srcdir. quote ,
577
577
'arch_hdrdir' => $arch_hdrdir. quote ,
578
578
'top_srcdir' => $top_srcdir. quote )
579
- if defined? ( ::TruffleRuby )
580
- # Specify output file (-o) explictly. Clang 3.8 produces conftest.o and 3.9 conftest.bc.
581
- RbConfig ::expand ( "$(CC) #$INCFLAGS #$CPPFLAGS #$CFLAGS #$ARCH_FLAG #{ opt } -o #{ CONFTEST } .#{ $OBJEXT} -c #{ CONFTEST_C } " ,
582
- conf )
583
- else
584
- RbConfig ::expand ( "$(CC) #$INCFLAGS #$CPPFLAGS #$CFLAGS #$ARCH_FLAG #{ opt } -c #{ CONFTEST_C } " ,
585
- conf )
586
- end
579
+ RbConfig ::expand ( "$(CC) #$INCFLAGS #$CPPFLAGS #$CFLAGS #$ARCH_FLAG #{ opt } -c #{ CONFTEST_C } " ,
580
+ conf )
587
581
end
588
582
589
583
def cpp_command ( outfile , opt = "" )
You can’t perform that action at this time.
0 commit comments