New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20280 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

gcc ports need special handling of build_arch/configure.archflags in trunk/1.8

Reported by: jmr@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: ram@…, macports.users@…
Port:

Description

Configure.archflags defaults to -arch $build_arch and is appended to CFLAGS. This ends up causing the build to fail because the CFLAGS are passed to the generated compiler, which does not support -arch.

Simply clearing configure.archflags reverts to the 1.7 behaviour. However, the selected build_arch should be respected if at all possible.

Change History

comment:1 Changed 4 years ago by ram@…

  • Cc ram@… added

Cc Me!

comment:2 Changed 4 years ago by macports.users@…

  • Cc macports.users@… added

Cc Me!

comment:3 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

Committed changes which should fix this, as far as I could determine, in r54512.

Note: See TracTickets for help on using tickets.