> @b4n I saw both "CFLAGS = -g -O2" and "CXXFLAGS = -g -O2" in the Makefile. 
> Does this mean that it was already generating debug code?
> 
> EDIT: Looking through the INSTALL file, it looks like I should also be able 
> to it this way?
> 
> ```
> ~/geany-2.0 $ make clean
> ~/geany-2.0 $ ./configure CFLAGS="-g -O2" CXXFLAGS="-g -O2" 
> --prefix="$HOME/geany"
> ~/geany-2.0 $ make
> ~/geany-2.0 $ make install
> ```

I guess I'm answering my own question.  I performed a build with and without 
the flags shown above and the binary file size is identical.  So I guess it 
defaults to a debug build?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4239#discussioncomment-12158106
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/4239/comments/[email protected]>

Reply via email to