On 2019-9-17 07:26 , Ryan Schmidt wrote: >> I cannot agree completely with that. What if you want to build all your >> ports with maximum optimisation (including -march=native and >> -mdynamic-no-pic)? > > There is no feature in MacPorts for that. Individual ports can offer a > variant to do that if that would be of particular benefit to that port. For > example the gdal port offers a +perf variant. We should standardize on a name > for such a variant. I don't know if we've already done so.
We've agreed on +native to use all the CPU features of the build machine. But -mdynamic-no-pic is incompatible with PIE, which is the default since 10.7. - Josh