#51196: nss 3.23 does not build on Mac Os X 10.6.8, Snow Leopard, because of "unrecognized command line option "-std=c++0x"" ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: nss | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:10 drjesacco@…]:
Same problem building on a G4 PowerMac running OS X10.5.8. I managed to get nss to build using the latest versions of macports-gcc-4.8 and macports-gcc-5. In order to use GCC, I had to modify the Portfile, removing "-arch ${arch}" wherever I found it.
Yes, this seems to be the cause for the inadequate assembler output, that cannot be compiled. I "simplified" Portfile – and nss built! QED. -- Ticket URL: <https://trac.macports.org/ticket/51196#comment:14> MacPorts <https://www.macports.org/> Ports system for the Mac operating system