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.bret...@gmail.com <mailto:mark.bret...@gmail.com>



On Jul 27, 2022, at 7:41 AM, Joshua Root <j...@macports.org <mailto:j...@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.

Reply via email to