On Wed, Dec 03, 2025 at 02:12:59AM -0700, Anthony J. Bentley wrote:
> Kirill A. Korinsky writes:
> > Here I fixed build and added libstdthreads as dependencies.
> >
> > Ok?
> 
> ok bentley@, except rather than update CFLAGS directly, please do this
> instead:
> 
> CONFIGURE_ARGS =       -DBUILD_SHARED_LIBS=ON \
>                        -DCMAKE_C_FLAGS="${CFLAGS} \
>                                -I${LOCALBASE}/include \
>                                -L${LOCALBASE}/lib"
> 
> That way the build doesn't break when doing 'make CFLAGS=-g' etc.

Better use DEBUG=-g, which should work in any port.

-- 
jca

Reply via email to