Opened 19 years ago
Closed 19 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)
Change History (2)
by , 19 years ago
| Attachment: | configure_proc.patch added |
|---|
comment:1 by , 19 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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