Opened 17 years ago

Closed 17 years ago

#3621 closed defect (invalid)

Logic for choosing between -march and -mcpu is backward in configure.

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

When the processor type is passed to configure using --arch or --cpu, the value is used in the wrong location. $arch_raw is assigned to -mcpu and $cpu is assigned to -march. I've attached a patch which fixes the logic.

Attachments (1)

configure_proc.patch (575 bytes) - added by drhuettl@… 17 years ago.

Download all attachments as: .zip

Change History (2)

Changed 17 years ago by drhuettl@…

Attachment: configure_proc.patch added

comment:1 Changed 17 years ago by Janne Grunau

Resolution: invalid
Status: newclosed

please read ./configure help. --arch selects the architecture i.e. x86, sparc, powerpc, ... it has nothing to do with -march

-mcpu is deprecated.

the arch_raw handling is probably wrong though

Note: See TracTickets for help on using tickets.