removing -arch from LDFLAGS

David Strubbe dstrubbe at gmail.com
Tue Nov 12 07:40:24 PST 2013


>
> I'm saying that if the user sets build_arch to i386 in macports.conf,
> adding '-arch i386' to LDFLAGS is one of the ways that we tell the build
> system to build for i386 and not for (say) x86_64 which is the default
> on recent systems. So if you don't do that, you may need to do something
> else. I don't know your build system so I don't know what if anything
> would be needed.
>

gfortran just doesn't accept the "-arch" argument, so I am not sure if
there is a way to take the arch into account. Can anyone else comment on
how, if at all, building with gfortran should deal with build_arch?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20131112/79501d29/attachment.html>


More information about the macports-dev mailing list