Skip to content

Commit c58c6db

Browse files
author
Daniel Kroening
committed
cleanout
1 parent b8590c8 commit c58c6db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/goto-cc/ld_mode.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,6 @@ int ld_modet::doit()
316316
eval_verbosity(
317317
cmdline.get_value("verbosity"), default_verbosity, gcc_message_handler);
318318

319-
bool act_as_bcc=
320-
base_name=="bcc" ||
321-
base_name.find("goto-bcc")!=std::string::npos;
322-
323319
if((cmdline.isset('v') && cmdline.have_infile_arg()) ||
324320
(cmdline.isset("version") && !produce_hybrid_binary))
325321
{
@@ -492,7 +488,7 @@ int ld_modet::doit()
492488

493489
// We can generate hybrid ELF and Mach-O binaries
494490
// containing both executable machine code and the goto-binary.
495-
if(produce_hybrid_binary && !act_as_bcc)
491+
if(produce_hybrid_binary)
496492
return gcc_hybrid_binary(compiler);
497493

498494
return EX_OK;

0 commit comments

Comments
 (0)