Ticket #20280 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.


Cc Me!