On Thu, Mar 14, 2019 at 11:24:19AM +0100, Stefan Sperling wrote:
> Oh, indeed, I missed your Makefile tweaks. Sorry.
> Could we split these into several separate diffs and commit them
> after an initial import?
Sure, go ahead.
> I build textsuggest with 'make DEBUG="-O0 -g" all the time, so DEBUG
> already works for me. I don't understand why it wouldn't work for you.
With your Makefile:

        $ make DEBUG=-g verbose-show='CFLAGS CXXFLAGS'
        CFLAGS=-O2 -pipe -g
        CXXFLAGS=-std=c++11  -I/usr/X11R6/include  
-I/usr/local/include/dbus-c++-1

With my diff:

        $ make DEBUG=-g verbose-show='CFLAGS CXXFLAGS'
        CFLAGS=-O2 -pipe -g
        CXXFLAGS=-O2 -pipe -g -std=c++11  -I/usr/X11R6/include  
-I/usr/local/include/dbus-c++-1

The port probably picks up CFLAGS itself, but I think we should take
proper care of CXXFLAGS in the first place since.

Reply via email to