Opened 15 years ago

Closed 15 years ago

#20280 closed defect (fixed)

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

Reported by: jmroot (Joshua Root) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: skymoo (Adam Mercer), 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 (3)

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

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

Cc: macports.users@… added

Cc Me!

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.