Opened 18 years ago
Closed 18 years ago
#3675 closed defect (duplicate)
Usage of mcpu is incorrect
Reported by: | anonymous | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
As per the GCC documentation, the usage of mcpu is incorrect. mcpu is a deprecated option that has been replaced by mtune.
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
Since the configure script uses mtune and mcpu on the same line, that's totally wrong. Attached is a patch that makes mcpu into march, which would be much more proper.
mcpu is going away in future GCC versions.
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | mythtv-mcpu-is-wrong.patch added |
---|
comment:1 Changed 18 years ago by
The patch is a simple sed. It should be cleaned up further by removing mtune where march and mtune are equal since march sets mtune to the march value if mtune isn't set.
Note: See
TracTickets for help on using
tickets.
mythtv-mcpu-is-wrong.patch