Ticket #1957 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Configure.pl ignores argument given to --optimize

Reported by: doughera Owned by: jkeenan
Priority: normal Milestone:
Component: configure Version: 2.11.0
Severity: medium Keywords: optimize optimization configure
Cc: Language:
Patch status: applied Platform: all

Description

If I give an explicit argument to Configure.pl's optimize, e.g. Configure.pl --optimize=-O3 , that argument is ignored, and I get whatever optimizer flags the underlying perl was compiled with. I suspect commit 8f4ba3c090fb67b28402c4c67744c683145990fa , but I don't know if this change was intentional.

Attachments

tt1957.init.optimize.patch Download (3.7 KB) - added by jkeenan 4 years ago.
corrected handling of command-line options; more thorough testing

Change History

Changed 4 years ago by jkeenan

corrected handling of command-line options; more thorough testing

follow-up: ↓ 2   Changed 4 years ago by jkeenan

  • status changed from new to assigned
  • component changed from none to configure
  • patch set to new
  • platform set to all
  • keywords optimize optimization configure added
  • owner set to jkeenan

Andy,

Please try out the patch attached.

Thank you very much.

kid51

in reply to: ↑ 1   Changed 4 years ago by doughera

Replying to jkeenan:

Please try out the patch attached.

Yes, that seems to have done the trick. Thanks.

  Changed 4 years ago by jkeenan

  • status changed from assigned to closed
  • resolution set to fixed
  • patch changed from new to applied

commit a88a9d9: Fix overriding of command-line option for optimization level.

Closing ticket.

Note: See TracTickets for help on using tickets.