[MacPorts] #69768: ninja fails to compile with standard gcc on Leopard 10.5: unrecognized command line option "-std=c++11"

MacPorts noreply at macports.org
Wed Apr 17 22:10:46 UTC 2024


#69768: ninja fails to compile with standard gcc on Leopard 10.5: unrecognized
command line option "-std=c++11"
----------------------+--------------------
 Reporter:  rmottola  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  leopard   |       Port:  ninja
----------------------+--------------------
 g++-4.2 doesn't like c++11
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.12.0"
 && /opt/local/bin/python3.12 configure.py --with-
 python=/opt/local/bin/python3.12 --bootstrap --verbose
 cc1plus: error: unrecognized command line option "-std=c++11"
 bootstrapping ninja...

 }}}

 just using a humble gcc 4.8 from macports

 Is there an option to require C++11 ? a bit on the lines of
 compiler.thread_local_storage yes

-- 
Ticket URL: <https://trac.macports.org/ticket/69768>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list