Hi all,

It seems like the meson.port.mk adds to CONFIGURE_ENV += CXXFLAGS="${CXXFLAGS}" and when I want to add CONFIGURE_ENV = CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}" it gets overriden by the meson.port.mk to go back to -O2 -pipe and then the has_header functions start failing during the configure phase.

After looking at the code in the meson.port.mk the best solution to come to my mind is to define CXXFLAGS += -I${LOCALBASE}/include outside of CONFIGURE_ENV and then it can be picked up by MODMESON_CONFIGURE_ENV but this feels wrong.

Is there anyway to get around this?

Thanks,
Aisha

Reply via email to