#33821: base: add a default +debug and +no_opt variant -------------------------------------------+-------------------------------- Reporter: sean.michael.farley@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.4 Keywords: | Port: -------------------------------------------+-------------------------------- This patch adds a default +debug variant that will build packages with -g and, more importantly, run the dsymutil tool to keep the debugging symbols. Additionally, there is a +no_opt variant that will try to delete all -O{1,2,3} flags and add -O0. Of course, individual packages can override what +debug and +no_opt will do, but as a base default, this seems sensible to have so that a user can get debugging symbols for gdb easily without having to edit a package's Portfile. -- Ticket URL: <https://trac.macports.org/ticket/33821> MacPorts <http://www.macports.org/> Ports system for Mac OS