Changes between Initial Version and Version 1 of Ticket #62426, comment 36


Ignore:
Timestamp:
Apr 24, 2021, 8:48:54 PM (3 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62426, comment 36

    initial v1  
    33<https://github.com/macports/macports-ports/blob/master/lang/macports-libcxx/files/patch-disable-availabilty.diff>
    44
    5 please show me exactly what you did in mame.
     5please show me exactly what you did in mame. In the end you will have to get this onto the cxx build line to force the compiler to use the new headers instead of the old headers:
     6{{{
     7configure.cxxflags-append -nostdinc++ -I${prefix}/include/libcxx/v1
     8}}}
     9
     10and the linker has to find the new libc++.dylib first:
     11{{{
     12configure.ldflags-append  -L${prefix}/lib/libcxx
     13}}}
     14
     15that is the essence of it. (and perhaps why someday {{{-stdlib=macports-libc++}}} might prove attractive, if enough use for this comes along, as that would make it "automagical")