CalculiX is using libstdc++ (this installation is configured to use libc++)

Chris Jones jonesc at hep.phy.cam.ac.uk
Wed Jul 27 12:52:44 UTC 2022



On 27/07/2022 1:49 pm, Mark Brethen wrote:
> As you can see in the makefile (post-patch), it only makes use of CFLAGS 
> and LDFLAGS.

Then you should at least set these as well pre-build

CFLAGS="${configure.cflags} [get_canonical_archflags cc]"

LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"

The info in CXXFLAGS should also be passed in some way as well

CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"

If the makefile currently does not use this, it should be added.

> 
> 
> Mark Brethen
> mark.brethen at gmail.com <mailto:mark.brethen at gmail.com>
> 
> 
> 
>> On Jul 27, 2022, at 7:41 AM, Joshua Root <jmr at macports.org 
>> <mailto:jmr at macports.org>> wrote:
>>
>> It's also not passing in the MacPorts CFLAGS, CXXFLAGS, and LDFLAGS. 
>> If it's a handcrafted Makefile, it may need some modification to even 
>> accept and use those.
> 


More information about the macports-dev mailing list