Opened 18 years ago
Closed 17 years ago
#3231 closed defect (fixed)
-mcpu is deprecated as per GCC docs, use -mtune or -march instead
Reported by: | anonymous | Owned by: | Janne Grunau |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
-mcpu has been deprecated by the GCC folk. You're suppose to use -march and -mtune instead. Based on the use of -mcpu and -mtune together in the configure script, it appears the use of -mcpu should really be -march. Here's a patch to make that happen.
Attachments (2)
Change History (8)
Changed 18 years ago by
Attachment: | mythtv-trunk-mcpu-march.patch added |
---|
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to Janne Grunau |
---|
Changed 18 years ago by
Attachment: | mythtv-trunk-mcpu-march.2.patch added |
---|
comment:2 Changed 18 years ago by
This one's an easy ticket to wipe off. Like Cardoe said, -mcpu is deprecated. Please apply this.
comment:3 Changed 18 years ago by
Tom, did you test this against a representative sampling of gcc releases from 2.95.3 through 4.2? On what architectures?
comment:4 Changed 18 years ago by
Cute, forget it. FWIW, Cardoe's patch has been in the Portage SVN builds since march.
comment:5 Changed 18 years ago by
Had yet another discussion about this in #mythtv today with Chutt, janneg, and Anduin.
updated to apply cleanly against trunk