[MacPorts] #35389: nodejs, nodejs-devel: use MacPorts CXXFLAGS
#35389: nodejs, nodejs-devel: use MacPorts CXXFLAGS -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: nodejs, nodejs-devel -------------------------------------+-------------------------------------- Currently the nodejs and nodejs-devel portfiles pass CFLAGS to the build phase but not CXXFLAGS. node defaults to building with -O3, while MacPorts CFLAGS and CXXFLAGS contain ${configure.optflags} which defaults to -O2. The upshot of this combination of facts is that the C parts of node are getting built with -O2 while the CXX parts are getting built with -O3. This difference was probably not intended. I propose the attached patch to pass CXXFLAGS as well. This way everything will be built with MacPorts default -O2. If a different optimization setting is desired, configure.optflags can additionally be set. -- Ticket URL: <https://trac.macports.org/ticket/35389> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35389: nodejs, nodejs-devel: use MacPorts CXXFLAGS --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Low | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: nodejs, nodejs-devel | --------------------------------------+------------------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed Comment: Done in r96197 and r96198. -- Ticket URL: <https://trac.macports.org/ticket/35389#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts