[MacPorts] #64952: Can Macports base be built as universal? configure: error: C preprocessor "/lib/cpp" fails sanity check
MacPorts
noreply at macports.org
Mon May 9 11:10:44 UTC 2022
#64952: Can Macports base be built as universal? configure: error: C preprocessor
"/lib/cpp" fails sanity check
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version: 2.7.2
Resolution: invalid | Keywords: powerpc, leopard, ppc64
Port: |
---------------------------+-------------------------------------
Comment (by barracuda156):
Replying to [comment:4 kencu]:
> look here for info on how MacPorts does this itself:
>
> https://github.com/macports/macports-
ports/blob/master/sysutils/MacPorts/Portfile
>
> this for example seems to do it for i386/ppc builds:
>
> {{{
> configure.cflags-append -arch ppc -arch i386
> configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
> }}}
>
> You no doubt know by now that to do that manually (outside of a MacPorts
build) you have to take steps to add those flags manually into the
environment variables and args during your build.
Oh, I just saw your message here. Thank you, will do!
--
Ticket URL: <https://trac.macports.org/ticket/64952#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list