> > 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?
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev