> On Sep 3, 2016, at 12:28 AM, Lawrence Velázquez <lar...@macports.org> wrote: > >> # ----------- CONFIGURATION ------------- >> # no idea if this is the best optimization we can do -- direct from the gcc >> makefile >> >> configure.cppflags -g -O2 > > Does this actually do anything? Passing debug and optimization flags to the > preprocessor doesn't really make sense. > >> configure.cxxflags -g -O2
If you want to change the optimization flags, set e.g. "configure.optflags -O2". MacPorts will automatically add it to cflags, cxxflags, and other appropriate flags. But only do this if this software requires it. Otherwise, let MacPorts use its default value of -Os. _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev